diff --git a/hosts/koi/containers/sftpgo/default.nix b/hosts/koi/containers/sftpgo/default.nix index 0f71890..26a4c97 100644 --- a/hosts/koi/containers/sftpgo/default.nix +++ b/hosts/koi/containers/sftpgo/default.nix @@ -83,6 +83,8 @@ in { extraConfig = '' alias /mnt/s3-desu-priv-encrypted/public/; autoindex on; + add_header 'Access-Control-Allow-Origin' '*'; + add_header 'Access-Control-Allow-Methods' 'GET'; ''; }; }; diff --git a/hosts/koi/services/landing/assets/index.html b/hosts/koi/services/landing/assets/index.html index 3487220..71560e5 100644 --- a/hosts/koi/services/landing/assets/index.html +++ b/hosts/koi/services/landing/assets/index.html @@ -54,7 +54,7 @@