add prod/dev var
All checks were successful
Build and Push Docker Images / build (push) Successful in 2m36s
All checks were successful
Build and Push Docker Images / build (push) Successful in 2m36s
This commit is contained in:
@@ -86,10 +86,13 @@ export default defineConfig({
|
||||
server: {
|
||||
proxy: {
|
||||
'/api': {
|
||||
target: 'http://srs-server:3000',
|
||||
target: process.env.NODE_ENV === 'DEV'
|
||||
? 'http://srs-server:3000'
|
||||
: 'http://192.168.0.26:3000',
|
||||
changeOrigin: true,
|
||||
secure: false,
|
||||
},
|
||||
},
|
||||
allowedHosts: ['srs.crylia.de', 'localhost']
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user