|
@@ -82,9 +82,9 @@ module.exports = function (proxy, allowedHost) {
|
|
|
},
|
|
|
public: allowedHost,
|
|
|
proxy: {
|
|
|
- '/api': {
|
|
|
+ '/api/service-logan': {
|
|
|
target: 'http://pengyi.w1.luyouxia.net/api/service-logan',
|
|
|
- pathRewrite: { '^/api': '' },
|
|
|
+ pathRewrite: { '^/api/service-logan': '' },
|
|
|
changeOrigin: true,
|
|
|
secure: false,
|
|
|
},
|