Update startup resources in run-electron-dev script

This commit is contained in:
2026-03-20 16:06:44 +01:00
parent 490c58f528
commit f7a86948ba

View File

@@ -6,7 +6,7 @@ const projectRoot = path.resolve(__dirname, '..')
const electronBinary = require('electron')
const relaunchExitCode = 75
const devServerUrl = process.env.VITE_DEV_SERVER_URL || 'http://127.0.0.1:5173'
const startupResources = [devServerUrl, 'http://127.0.0.1:8000/health']
const startupResources = ['tcp:127.0.0.1:5173', 'tcp:127.0.0.1:8000']
const env = {
...process.env,
VITE_DEV_SERVER_URL: devServerUrl,