aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Mo Tarbin <mhed.t91@gmail.com>2024-07-01 01:50:25 -0400
committerLibravatar Mo Tarbin <mhed.t91@gmail.com>2024-07-01 01:50:25 -0400
commita6871d420053fa06cebdeccee82752a9f9b99af8 (patch)
tree3d35ae5b63560759a0e1e435b5b5fa593014fa66
parent49d877486c7c5c31edbc25fca687a0130888f1c4 (diff)
downloaddonetick-a6871d420053fa06cebdeccee82752a9f9b99af8.tar.gz
donetick-a6871d420053fa06cebdeccee82752a9f9b99af8.tar.bz2
donetick-a6871d420053fa06cebdeccee82752a9f9b99af8.zip
Update server configuration to allow specific CORS origins and increase rate limit to 300
Diffstat (limited to '')
-rw-r--r--config/local.yaml6
1 files changed, 3 insertions, 3 deletions
diff --git a/config/local.yaml b/config/local.yaml
index 751d742..b422f3a 100644
--- a/config/local.yaml
+++ b/config/local.yaml
@@ -10,14 +10,14 @@ jwt:
session_time: 168h
max_refresh: 168h
server:
- port: 8000
+ port: 2021
read_timeout: 2s
write_timeout: 1s
rate_period: 60s
- rate_limit: 200
+ rate_limit: 300
cors_allow_origins:
- "http://localhost:5173"
-
+ - "http://localhost:7926"
scheduler_jobs:
due_job: 30m
overdue_job: 3h