aboutsummaryrefslogtreecommitdiffstats
path: root/config/local.yaml
diff options
context:
space:
mode:
authorLibravatar Mo Tarbin <mhed.t91@gmail.com>2024-06-30 22:58:33 -0400
committerLibravatar Mo Tarbin <mhed.t91@gmail.com>2024-06-30 22:58:33 -0400
commit49d877486c7c5c31edbc25fca687a0130888f1c4 (patch)
treed4a71089e72d73a048a7948e46ba349317165ce3 /config/local.yaml
parentc13dd9addbf89f716e4ef5cfdf1d673139ffcb68 (diff)
downloaddonetick-49d877486c7c5c31edbc25fca687a0130888f1c4.tar.gz
donetick-49d877486c7c5c31edbc25fca687a0130888f1c4.tar.bz2
donetick-49d877486c7c5c31edbc25fca687a0130888f1c4.zip
refactor: Update server configuration to allow specific CORS origins
Diffstat (limited to 'config/local.yaml')
-rw-r--r--config/local.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/local.yaml b/config/local.yaml
index 945a122..751d742 100644
--- a/config/local.yaml
+++ b/config/local.yaml
@@ -15,6 +15,8 @@ server:
write_timeout: 1s
rate_period: 60s
rate_limit: 200
+ cors_allow_origins:
+ - "http://localhost:5173"
scheduler_jobs:
due_job: 30m