Admin
This commit is contained in:
@@ -23,7 +23,7 @@ export default defineConfig({
|
||||
host: '0.0.0.0',
|
||||
proxy: {
|
||||
'/api': {
|
||||
target: 'http://192.168.1.138:93',
|
||||
target: 'http://www.free.loc',
|
||||
changeOrigin: true,
|
||||
rewrite: (path) => path.replace(/^\/api/, ''), // 不可以省略rewrite
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user