diff options
Diffstat (limited to 'workers/plugin-marketplace/r2-cors.json')
| -rw-r--r-- | workers/plugin-marketplace/r2-cors.json | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/workers/plugin-marketplace/r2-cors.json b/workers/plugin-marketplace/r2-cors.json new file mode 100644 index 00000000..a8c8d99f --- /dev/null +++ b/workers/plugin-marketplace/r2-cors.json @@ -0,0 +1,13 @@ +{ + "rules": [ + { + "allowed": { + "origins": ["https://herdr.dev"], + "methods": ["GET", "HEAD"], + "headers": ["*"] + }, + "exposeHeaders": ["Content-Type", "Cache-Control", "ETag"], + "maxAgeSeconds": 3600 + } + ] +} |
