fix(docs): api document is not accessible
This commit is contained in:
parent
41b023987b
commit
9cfdb7456a
@ -10,7 +10,7 @@ export default defineConfig({
|
|||||||
'process.env.API_HOSTNAME': process.env.API_HOSTNAME,
|
'process.env.API_HOSTNAME': process.env.API_HOSTNAME,
|
||||||
},
|
},
|
||||||
proxy: {
|
proxy: {
|
||||||
'/api': {
|
'/api/': {
|
||||||
'target': `http://localhost:${process.env.API_PORT}/`,
|
'target': `http://localhost:${process.env.API_PORT}/`,
|
||||||
'changeOrigin': true,
|
'changeOrigin': true,
|
||||||
'pathRewrite': { '^/api/': '/api/' },
|
'pathRewrite': { '^/api/': '/api/' },
|
||||||
|
@ -1,10 +0,0 @@
|
|||||||
---
|
|
||||||
toc: menu
|
|
||||||
---
|
|
||||||
|
|
||||||
# Action
|
|
||||||
|
|
||||||
## action.params
|
|
||||||
|
|
||||||
## action.mergeParams()
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user