fix(web): update server port configuration to use environment variable (#330)

This commit is contained in:
gsxdsm
2026-02-06 11:15:58 +02:00
committed by GitHub
parent af0dc11773
commit f25d20a61e
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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,
},
},