Get dev system running on different ports
So we go Caddy to Vita to nidus-sync
This commit is contained in:
parent
b384252c7c
commit
0a79c5d945
3 changed files with 4 additions and 5 deletions
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue