aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2023-12-31 08:39:50 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2023-12-31 08:39:50 +0000
commit8baafb972cb2af6d5c375444001937422dcc34d4 (patch)
tree9d7510c8a41c29968c34f39992ae5a58b6b2749f
parenthtml: improve index & error page (diff)
downloadassets-8baafb972cb2af6d5c375444001937422dcc34d4.tar.gz
assets-8baafb972cb2af6d5c375444001937422dcc34d4.tar.bz2
assets-8baafb972cb2af6d5c375444001937422dcc34d4.zip
tooling: s3 stuff
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rw-r--r--cors.json9
-rw-r--r--cors.xml8
-rw-r--r--website.json8
-rw-r--r--website.xml8
4 files changed, 33 insertions, 0 deletions
diff --git a/cors.json b/cors.json
new file mode 100644
index 0000000..d8ef202
--- /dev/null
+++ b/cors.json
@@ -0,0 +1,9 @@
+{
+ "CORSRules": [
+ {
+ "AllowedOrigins": ["*"],
+ "AllowedMethods": ["GET","HEAD"],
+ "AllowedHeaders": ["*"]
+ }
+ ]
+}
diff --git a/cors.xml b/cors.xml
new file mode 100644
index 0000000..584b71c
--- /dev/null
+++ b/cors.xml
@@ -0,0 +1,8 @@
+<CORSConfiguration>
+ <CORSRule>
+ <AllowedOrigin>*</AllowedOrigin>
+ <AllowedMethod>GET</AllowedMethod>
+ <AllowedMethod>HEAD</AllowedMethod>
+ <AllowedHeader>*</AllowedHeader>
+ </CORSRule>
+</CORSConfiguration>
diff --git a/website.json b/website.json
new file mode 100644
index 0000000..377a84b
--- /dev/null
+++ b/website.json
@@ -0,0 +1,8 @@
+{
+ "ErrorDocument": {
+ "Key": "/error.html"
+ },
+ "IndexDocument": {
+ "Suffix": "/index.html"
+ }
+}
diff --git a/website.xml b/website.xml
new file mode 100644
index 0000000..9137870
--- /dev/null
+++ b/website.xml
@@ -0,0 +1,8 @@
+<WebsiteConfiguration>
+ <ErrorDocument>
+ <Key>/error.html</Key>
+ </ErrorDocument>
+ <IndexDocument>
+ <Suffix>/index.html</Suffix>
+ </IndexDocument>
+</WebsiteConfiguration>