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:
@@ -4,7 +4,7 @@
|
|||||||
"version": "0.0.0",
|
"version": "0.0.0",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite --port 5173",
|
||||||
"relay-clean": "find src -type d -name \"__generated__\" -exec rm -rf {} +",
|
"relay-clean": "find src -type d -name \"__generated__\" -exec rm -rf {} +",
|
||||||
"relay-compile": "npx relay-compiler",
|
"relay-compile": "npx relay-compiler",
|
||||||
"relay": "npm run relay-clean && npm run relay-compile",
|
"relay": "npm run relay-clean && npm run relay-compile",
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
"version": "0.0.0",
|
"version": "0.0.0",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite --port 5174",
|
||||||
"relay": "find src -type d -name \"__generated__\" -exec rm -rf {} + && npx relay-compiler ./relay.config.json",
|
"relay": "find src -type d -name \"__generated__\" -exec rm -rf {} + && npx relay-compiler ./relay.config.json",
|
||||||
"build": "tsc -b && vite build",
|
"build": "tsc -b && vite build",
|
||||||
"lint": "eslint . --concurrency 2",
|
"lint": "eslint . --concurrency 2",
|
||||||
|
|||||||
17
cfg/dev.yaml
17
cfg/dev.yaml
@@ -1,6 +1,6 @@
|
|||||||
unit:
|
unit:
|
||||||
metrics:
|
metrics:
|
||||||
addr: "localhost:5173"
|
addr: "localhost:8081"
|
||||||
tracing:
|
tracing:
|
||||||
addr: "localhost:4317"
|
addr: "localhost:4317"
|
||||||
max-batch-size: 512
|
max-batch-size: 512
|
||||||
@@ -37,7 +37,10 @@ probod:
|
|||||||
|
|
||||||
default:
|
default:
|
||||||
cors:
|
cors:
|
||||||
allowed-origins: ["http://localhost:8080", "http://localhost:5173"]
|
allowed-origins:
|
||||||
|
- "http://localhost:8080"
|
||||||
|
- "http://localhost:5173"
|
||||||
|
- "http://localhost:5174"
|
||||||
extra-header-fields: {}
|
extra-header-fields: {}
|
||||||
console:
|
console:
|
||||||
complaince-page:
|
complaince-page:
|
||||||
@@ -64,16 +67,6 @@ probod:
|
|||||||
pepper: "this-is-a-secure-pepper-for-password-hashing-at-least-32-bytes"
|
pepper: "this-is-a-secure-pepper-for-password-hashing-at-least-32-bytes"
|
||||||
iterations: 1000000
|
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:
|
aws:
|
||||||
region: "us-east-1"
|
region: "us-east-1"
|
||||||
bucket: "probod"
|
bucket: "probod"
|
||||||
|
|||||||
Reference in New Issue
Block a user