From 0a79c5d94547debc5c8378357747a5904bae1e93 Mon Sep 17 00:00:00 2001 From: Eli Ribble Date: Mon, 23 Mar 2026 00:34:21 +0000 Subject: [PATCH] Get dev system running on different ports So we go Caddy to Vita to nidus-sync --- package.json | 2 +- start-flogo.sh | 2 +- vite.config.ts | 5 ++--- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index e59113ac..1ae0af5a 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ }, "scripts": { "build": "vite build", - "dev": "vite --host --port 8080", + "dev": "vite", "generate-icons": "node generate-icons.js", "typecheck": "vue-tsc --noEmit", "typecheck:watch": "vue-tsc --noEmit --watch" diff --git a/start-flogo.sh b/start-flogo.sh index 02988457..8c6cbdf2 100755 --- a/start-flogo.sh +++ b/start-flogo.sh @@ -1,6 +1,6 @@ #!/run/current-system/sw/bin/bash # normal -export $(cat /var/run/secrets/nidus-dev-sync-env | xargs) && BIND=127.0.0.1:9001 FLOGO_BIND=:9000 FLOGO_UPSTREAM=http://127.0.0.1:9001 VERBOSE=1 ../flogo/flogo -target . +export $(cat /var/run/secrets/nidus-dev-sync-env | xargs) && BIND=127.0.0.1:9002 FLOGO_BIND=:9001 FLOGO_UPSTREAM=http://127.0.0.1:9001 VERBOSE=1 ../flogo/flogo -target . # MITM proxy #export $(cat /var/run/secrets/nidus-dev-sync-env | xargs) && BIND=127.0.0.1:9001 FLOGO_BIND=:9000 FLOGO_UPSTREAM=http://127.0.0.1:9001 MITM_PROXY=http://127.0.0.1:8080 ../flogo/flogo -target . # verbose diff --git a/vite.config.ts b/vite.config.ts index da7bbeec..b10f5eab 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -51,11 +51,10 @@ export default defineConfig({ server: { allowedHosts: ["poweredge.local", "dev-sync.nidus.cloud"], - host: true, // Listen on all addresses - port: 8080, + port: 9000, proxy: { "/api": { - target: "http://127.0.0.1:9000", + target: "http://127.0.0.1:9002", changeOrigin: true, }, },