mirror of
https://github.com/duckietm/Nitro-V3.git
synced 2026-06-19 15:06:20 +00:00
Add secure configuration bootstrap flow
This commit is contained in:
+1
-12
@@ -16,18 +16,7 @@ export default defineConfig({
|
||||
rendererRoot,
|
||||
]
|
||||
},
|
||||
proxy: {
|
||||
'/api': {
|
||||
target: process.env.AUTH_PROXY_TARGET || 'https://nitro.example.com:2096/',
|
||||
changeOrigin: true,
|
||||
ws: true,
|
||||
},
|
||||
'/nitro-sec': {
|
||||
target: process.env.NITRO_PROXY_TARGET || 'https://nitro.example.com:2096/',
|
||||
changeOrigin: true,
|
||||
ws: true,
|
||||
}
|
||||
}
|
||||
|
||||
},
|
||||
resolve: {
|
||||
tsconfigPaths: true,
|
||||
|
||||
Reference in New Issue
Block a user