fixes from review

This commit is contained in:
Georges-Antoine Assi
2025-08-27 18:19:35 -04:00
parent f8e70fcd44
commit ee2bd57475
3 changed files with 4 additions and 4 deletions

View File

@@ -4,9 +4,9 @@
"service": "romm-dev",
"workspaceFolder": "/app",
"shutdownAction": "stopCompose",
"forwardPorts": [443, 3000, 3306, 5000, 6379],
"forwardPorts": [8443, 3000, 3306, 5000, 6379],
"portsAttributes": {
"443": {
"8443": {
"label": "HTTPS Dev Server",
"onAutoForward": "notify"
},

View File

@@ -13,7 +13,7 @@ services:
- ROMM_BASE_PATH=/app/romm
ports:
- "3000:3000" # Frontend dev server
- "443:443" # HTTPS dev server
- "8443:8443" # HTTPS dev server
- "${DEV_PORT:-5000}:5000" # Backend API
volumes:
- ./backend:/app/backend

View File

@@ -80,7 +80,7 @@ export default defineConfig(({ mode }) => {
rewrite: (path) => path.replace(/^\/openapi.json/, "/openapi.json"),
},
},
port: env.DEV_HTTPS ? 443 : 3000,
port: env.DEV_HTTPS ? 8443 : 3000,
allowedHosts: ["localhost", "127.0.0.1", "romm.dev"],
...(env.DEV_HTTPS
? {