|
@@ -14,7 +14,7 @@ const pathWhiteList = require('./limiter/rules/path-white-list'); |
|
@@ -14,7 +14,7 @@ const pathWhiteList = require('./limiter/rules/path-white-list'); |
14
|
const ipWhiteList = require('./limiter/rules/ip-white-list');
|
14
|
const ipWhiteList = require('./limiter/rules/ip-white-list');
|
15
|
const _ = require('lodash');
|
15
|
const _ = require('lodash');
|
16
|
|
16
|
|
17
|
-const replaceKey = '${refer}';
|
17
|
+const replaceKey = '__refer__';
|
18
|
const checkRefer = helpers.urlFormat('/3party/check', {refer: replaceKey});
|
18
|
const checkRefer = helpers.urlFormat('/3party/check', {refer: replaceKey});
|
19
|
|
19
|
|
20
|
const forceNoCache = (res) => {
|
20
|
const forceNoCache = (res) => {
|