...
|
...
|
@@ -4,6 +4,7 @@ const request = require('request'); |
|
|
const env = global.env;
|
|
|
|
|
|
let mainProxy = (req, res) => {
|
|
|
res.header('x-version', env.version);
|
|
|
request.get(`http://cdn.yoho.cn/yoho-shop-manage/${env.version}/index.html`).pipe(res);
|
|
|
};
|
|
|
|
...
|
...
|
|