feat
This commit is contained in:
@@ -46,9 +46,9 @@ export default defineConfig({
|
||||
'/api': {
|
||||
changeOrigin: true,
|
||||
// 接口地址
|
||||
target: 'http://localhost:8000',
|
||||
rewrite: (path: string) =>
|
||||
path.replace(/^\/api/, ''),
|
||||
target: 'http://82.157.183.212:21092',
|
||||
// rewrite: (path: string) =>
|
||||
// path.replace(/^\/api/, ''),
|
||||
configure: (proxy, options) => {
|
||||
console.log('Proxy configured:', options)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user