diff options
| author | Xe Iaso <me@xeiaso.net> | 2024-02-26 15:03:52 -0500 |
|---|---|---|
| committer | Xe Iaso <me@xeiaso.net> | 2024-02-26 15:03:52 -0500 |
| commit | 676e42028f7c2bd9a91de0a0477167b33a80670c (patch) | |
| tree | 3fc01f3a1747cdf54b1f11b4a1f25ce3b55f15ef | |
| parent | e1556f80d2e015171b97270d029f09b0867c4b82 (diff) | |
| download | x-676e42028f7c2bd9a91de0a0477167b33a80670c.tar.xz x-676e42028f7c2bd9a91de0a0477167b33a80670c.zip | |
enable tigris statics
Signed-off-by: Xe Iaso <me@xeiaso.net>
| -rw-r--r-- | cmd/xedn/cors.json | 10 | ||||
| -rw-r--r-- | cmd/xedn/fly.toml | 10 |
2 files changed, 15 insertions, 5 deletions
diff --git a/cmd/xedn/cors.json b/cmd/xedn/cors.json new file mode 100644 index 0000000..df55bb8 --- /dev/null +++ b/cmd/xedn/cors.json @@ -0,0 +1,10 @@ +{ + "CORSRules": [ + { + "AllowedOrigins": ["*"], + "AllowedMethods": ["GET", "HEAD"], + "AllowedHeaders": ["*"], + "MaxAgeSeconds": 3000 + } + ] +} diff --git a/cmd/xedn/fly.toml b/cmd/xedn/fly.toml index e6cceda..dac47b6 100644 --- a/cmd/xedn/fly.toml +++ b/cmd/xedn/fly.toml @@ -23,11 +23,11 @@ auto_extend_size_threshold = 80 auto_extend_size_increment = "1GB" auto_extend_size_limit = "100GB" -#[[statics]] -#url_prefix = "/file/christine-static" -#guest_path = "/unused" -#tigris_bucket = "xedn" -# +[[statics]] +url_prefix = "/file/christine-static" +guest_path = "/" +tigris_bucket = "xedn" + [[services]] protocol = "tcp" internal_port = 8080 |
