Specify ports for vite dev servers and remove useless yaml conf from dev config

Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
Émile Ré
2026-02-03 12:56:14 +04:00
parent 36b1095441
commit e6a97f6b29
3 changed files with 7 additions and 14 deletions

View File

@@ -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",

View File

@@ -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",

View File

@@ -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"