mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-06 02:48:43 +00:00
feat: proxy openapi url
This commit is contained in:
@@ -21,7 +21,8 @@ export default defineConfig({
|
|||||||
server: {
|
server: {
|
||||||
host: true,
|
host: true,
|
||||||
proxy: {
|
proxy: {
|
||||||
'/api': apiUrl
|
'/api': apiUrl,
|
||||||
|
'/openapi': apiUrl
|
||||||
},
|
},
|
||||||
allowedHosts: allowedHosts
|
allowedHosts: allowedHosts
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user