diff options
-rw-r--r-- | cors.json | 9 | ||||
-rw-r--r-- | cors.xml | 8 | ||||
-rw-r--r-- | website.json | 8 | ||||
-rw-r--r-- | website.xml | 8 |
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> |