mirror of
https://github.com/dataforcanada/d4c-service-main-site.git
synced 2026-06-13 14:00:51 +02:00
Fix #12. Should work now, just need to test with the various models
This commit is contained in:
@@ -16,7 +16,7 @@ ALLOWED_ORIGINS = "https://www.dataforcanada.org"
|
||||
# The `cache-control` header: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control.
|
||||
# Optional, the `cache-control` header is omitted if unset, which would NOT disable caching: https://developers.cloudflare.com/workers/runtime-apis/cache/#headers
|
||||
# For example, you can disable all cache by setting this to `no-store`.
|
||||
CACHE_CONTROL = "max-age=3600, public"
|
||||
CACHE_CONTROL = "max-age=1800, public"
|
||||
|
||||
# The string to prepend to each file path. Optional, nothing is prepended to the path if unset.
|
||||
PATH_PREFIX = ""
|
||||
@@ -60,3 +60,4 @@ enabled = false
|
||||
binding = "R2_BUCKET"
|
||||
bucket_name = "dataforcanada-www" # Set this to your R2 bucket name. Required
|
||||
preview_bucket_name = "dataforcanada-www" # Set this to your preview R2 bucket name. Can be equal to bucket_name. Optional
|
||||
remote = true
|
||||
|
||||
Reference in New Issue
Block a user