diff options
author | Mo Tarbin <mhed.t91@gmail.com> | 2024-07-01 01:50:25 -0400 |
---|---|---|
committer | Mo Tarbin <mhed.t91@gmail.com> | 2024-07-01 01:50:25 -0400 |
commit | a6871d420053fa06cebdeccee82752a9f9b99af8 (patch) | |
tree | 3d35ae5b63560759a0e1e435b5b5fa593014fa66 /config | |
parent | 49d877486c7c5c31edbc25fca687a0130888f1c4 (diff) | |
download | donetick-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 'config')
-rw-r--r-- | config/local.yaml | 6 |
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 |