diff --git a/apps/console/package.json b/apps/console/package.json index 8bd174293..3801271a8 100644 --- a/apps/console/package.json +++ b/apps/console/package.json @@ -4,7 +4,7 @@ "version": "0.0.0", "type": "module", "scripts": { - "dev": "vite", + "dev": "vite --port 5173", "relay-clean": "find src -type d -name \"__generated__\" -exec rm -rf {} +", "relay-compile": "npx relay-compiler", "relay": "npm run relay-clean && npm run relay-compile", diff --git a/apps/trust/package.json b/apps/trust/package.json index 18444f22a..72cb7435e 100644 --- a/apps/trust/package.json +++ b/apps/trust/package.json @@ -4,7 +4,7 @@ "version": "0.0.0", "type": "module", "scripts": { - "dev": "vite", + "dev": "vite --port 5174", "relay": "find src -type d -name \"__generated__\" -exec rm -rf {} + && npx relay-compiler ./relay.config.json", "build": "tsc -b && vite build", "lint": "eslint . --concurrency 2", diff --git a/cfg/dev.yaml b/cfg/dev.yaml index fee8446ec..cb3857ddc 100644 --- a/cfg/dev.yaml +++ b/cfg/dev.yaml @@ -1,6 +1,6 @@ unit: metrics: - addr: "localhost:5173" + addr: "localhost:8081" tracing: addr: "localhost:4317" max-batch-size: 512 @@ -37,7 +37,10 @@ probod: default: cors: - allowed-origins: ["http://localhost:8080", "http://localhost:5173"] + allowed-origins: + - "http://localhost:8080" + - "http://localhost:5173" + - "http://localhost:5174" extra-header-fields: {} console: complaince-page: @@ -64,16 +67,6 @@ probod: pepper: "this-is-a-secure-pepper-for-password-hashing-at-least-32-bytes" iterations: 1000000 - trust-auth: - cookie-name: "TCT" - cookie-domain: "localhost" - cookie-duration: 24 - token-duration: 720 - report-url-duration: 15 - token-secret: "this-is-a-secure-secret-for-trust-token-signing-at-least-32-bytes" - scope: "trust_center_readonly" - token-type: "trust_center_access" - aws: region: "us-east-1" bucket: "probod"