feat: add swagger page

This commit is contained in:
2025-05-12 21:56:41 +08:00
parent 8699a568d1
commit 74d40d25e2
4 changed files with 42 additions and 18 deletions

View File

@@ -41,7 +41,12 @@ export default defineConfig({
emptyOutDir: true, // also necessary
},
server: {
proxy: {},
proxy: {
"/swagger": {
target: 'http://localhost:5000',
changeOrigin: true
}
},
port: 5173,
}
})