chore: 调整后端端口为38080并更新前端代理
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -1,2 +1,2 @@
|
|||||||
server.port=8080
|
server.port=38080
|
||||||
spring.application.name=svn-manager-backend
|
spring.application.name=svn-manager-backend
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ export default defineConfig({
|
|||||||
plugins: [vue()],
|
plugins: [vue()],
|
||||||
server: {
|
server: {
|
||||||
proxy: {
|
proxy: {
|
||||||
'/api': { target: 'http://localhost:8080', changeOrigin: true }
|
'/api': { target: 'http://localhost:38080', changeOrigin: true }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user