From 1b593c6f9ceab6aeee24343ae48be646662fdf17 Mon Sep 17 00:00:00 2001 From: Peter Kurfer Date: Fri, 22 Nov 2024 19:57:43 +0100 Subject: [PATCH] fix(ente): add bucket CORS policy --- ente/config/bucket-cors-policy.json | 22 ++++++++++++++++++++++ ente/config/credentials.yaml | Bin 1080 -> 1089 bytes 2 files changed, 22 insertions(+) create mode 100644 ente/config/bucket-cors-policy.json diff --git a/ente/config/bucket-cors-policy.json b/ente/config/bucket-cors-policy.json new file mode 100644 index 0000000..532be6d --- /dev/null +++ b/ente/config/bucket-cors-policy.json @@ -0,0 +1,22 @@ +{ + "CORSRules": [ + { + "AllowedOrigins": ["https://ente.icb4dc0.de"], + "AllowedMethods": ["GET", "PUT", "POST"], + "AllowedHeaders": [ + "Authorization", + "Content-Type", + "x-amz-date", + "x-amz-content-sha256", + "x-amz-user-agent" + ], + "ExposeHeaders": [ + "x-amz-server-side-encryption", + "x-amz-request-id", + "x-amz-id-2", + "ETag" + ], + "MaxAgeSeconds": 600 + } + ] +} diff --git a/ente/config/credentials.yaml b/ente/config/credentials.yaml index 127715f09d764a4ab5378c0aca096db7ba2fb068..3de3102b869763e1ae3ecf48e7000b6088654ea8 100644 GIT binary patch delta 1072 zcmV-01kd}p2*C)DAb&wrYidYtHaAI0F;P}&D{4|Ra92-5Z#h^|OnEdpXHij2d2Kd& zVQNM(MG8YPczQ-qR7h%MXHsNqPiI(Ea5qU~LTq$rOnEs>b#q5YO>ky*LN_lNqT8SYG!I`N_Ao~LwHzlct&(Gd4FaxM`}qnFlI9`V^v30 z3R5_6L}fN`D^+K0W-wH3R$)qTPi;jrRcJ_VH)B*)ZD>MAdNF2ZSV1py3N0-yAVX++ zQ8`XdGAl%KPb+S3bVD$6V`?%}V|ht-F<4@GF?nc0VRvd!R(fhd3X(gG3^1_L^EVco zpoC-dq_#K>d73F6LxqpLC{==!z}wP9{rdkbLW;(qU7SsJW`9(6b@@5t*29 zP(7sEbDsC`FjoG)`-Z^h6UkThCVE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