修改mysql远程连接
This commit is contained in:
@@ -27,7 +27,7 @@ export default defineConfig({
|
||||
port: 3150,
|
||||
proxy: {
|
||||
'/api': {
|
||||
target: 'https://api.jiebanke.com',
|
||||
target: 'http://localhost:3100',
|
||||
changeOrigin: true,
|
||||
rewrite: (path) => path.replace(/^\/api/, '/api/v1')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user