From 185b213349c5be38f1a655ca35a55a3faf903f50 Mon Sep 17 00:00:00 2001 From: teidesu Date: Fri, 31 Jan 2025 13:08:45 +0300 Subject: [PATCH] fix(koi): fix landing --- hosts/koi/containers/sftpgo/default.nix | 2 ++ hosts/koi/services/landing/assets/index.html | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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 @@