fix: Omni Container /docs Proxy and PyYaml dependency (#2457)

* upgrade pyyaml to ^6.0.1

* add proxy routes for docs
This commit is contained in:
Michael Genson
2023-07-23 12:53:45 -05:00
committed by GitHub
parent 0f896107f9
commit c86406e027
3 changed files with 61 additions and 163 deletions

View File

@@ -302,6 +302,16 @@ export default {
target: process.env.API_URL || "http://localhost:9000",
xfwd: true,
},
"/docs": {
changeOrigin: true,
target: process.env.API_URL || "http://localhost:9000",
xfwd: true,
},
"/openapi.json": {
changeOrigin: true,
target: process.env.API_URL || "http://localhost:9000",
xfwd: true,
},
},
// PWA module configuration: https://go.nuxtjs.dev/pwa