fix(web): update server port configuration to use environment variable (#330)
This commit is contained in:
@@ -57,7 +57,7 @@ export default defineConfig({
|
||||
port: 5173,
|
||||
proxy: {
|
||||
'/api': {
|
||||
target: 'http://127.0.0.1:3001',
|
||||
target: `http://127.0.0.1:${process.env.OPENCHAMBER_PORT || 3001}`,
|
||||
changeOrigin: true,
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user