|
@@ -12,15 +12,15 @@ export default defineConfig({
|
|
|
},
|
|
|
define: {
|
|
|
'process.env': {
|
|
|
- 'BASE_API':"http://60.204.153.188"
|
|
|
- // 'BASE_API':"http://61.164.207.46:8100/"
|
|
|
+ // 'BASE_API':"http://60.204.153.188"
|
|
|
+ 'BASE_API':"http://61.164.207.46:8100/"
|
|
|
}
|
|
|
},
|
|
|
server: {
|
|
|
proxy: {
|
|
|
"/api": {
|
|
|
- target: "http://60.204.153.188/",
|
|
|
- // target: "http://61.164.207.46:8100/",
|
|
|
+ // target: "http://60.204.153.188/",
|
|
|
+ target: "http://61.164.207.46:8100/",
|
|
|
ws: true,
|
|
|
changeOrigin: true,
|
|
|
rewrite: (path) => path.replace(/^\/api/, ""),
|