mirror of
https://github.com/steveiliop56/tinyauth.git
synced 2026-07-05 17:50:16 +00:00
feat: init swagger
This commit is contained in:
@@ -62,6 +62,11 @@ export default defineConfig({
|
||||
changeOrigin: true,
|
||||
rewrite: (path) => path.replace(/^\/authorize/, ""),
|
||||
},
|
||||
"/swagger": {
|
||||
target: "http://tinyauth-backend:3000/swagger",
|
||||
changeOrigin: true,
|
||||
rewrite: (path) => path.replace(/^\/swagger/, ""),
|
||||
}
|
||||
},
|
||||
allowedHosts: true,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user