mirror of
https://github.com/iflytek/skillhub.git
synced 2026-08-28 11:25:00 +00:00
feat: Initialize Vite configuration for React development with path aliases, server settings, and API proxies.
This commit is contained in:
parent
d6913d28aa
commit
44936b9b11
1 changed files with 2 additions and 2 deletions
|
|
@ -17,11 +17,11 @@ export default defineConfig({
|
|||
},
|
||||
proxy: {
|
||||
'/api': {
|
||||
target: 'http://10.1.203.231:8080',
|
||||
target: 'http://localhost:8080',
|
||||
changeOrigin: true,
|
||||
},
|
||||
'/oauth2': {
|
||||
target: 'http://10.1.203.231:8080',
|
||||
target: 'http://localhost:8080',
|
||||
changeOrigin: true,
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue