gitea push
This commit is contained in:
@@ -53,11 +53,17 @@ export default defineConfig({
|
||||
server: {
|
||||
port: 3000,
|
||||
proxy: {
|
||||
'/api' : {
|
||||
'/api': {
|
||||
target: 'http://localhost:8000',
|
||||
changeOrigin: true,
|
||||
secure: false
|
||||
secure: false,
|
||||
},
|
||||
'/docs': {
|
||||
target: 'http://localhost:5173',
|
||||
changeOrigin: true,
|
||||
rewrite: (path) => path.replace(/^\/docs$/, '/docs/'),
|
||||
ws: true,
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user