Skip to content
Snippets Groups Projects
Unverified Commit a4e03831 authored by balibabu's avatar balibabu Committed by GitHub
Browse files

feat: set proxy of backend api (#83)

parent 320cbf54
No related branches found
No related tags found
No related merge requests found
...@@ -21,11 +21,11 @@ export default defineConfig({ ...@@ -21,11 +21,11 @@ export default defineConfig({
hack: `true; @import "~@/less/variable.less";`, hack: `true; @import "~@/less/variable.less";`,
}, },
}, },
// proxy: { proxy: {
// '/v1': { '/v1': {
// 'target': 'http://54.80.112.79:9380/', target: 'http://123.60.95.134:9380/',
// 'changeOrigin': true, changeOrigin: true,
// 'pathRewrite': { '^/v1': '/v1' }, // pathRewrite: { '^/v1': '/v1' },
// }, },
// }, },
}); });
let api_host = `http://123.60.95.134:9380/v1`; let api_host = `/v1`;
export { api_host }; export { api_host };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment