diff options
author | Patryk Niedźwiedziński <patryk@niedzwiedzinski.cyou> | 2024-10-18 22:40:15 +0200 |
---|---|---|
committer | Patryk Niedźwiedziński <patryk@niedzwiedzinski.cyou> | 2024-10-18 22:40:15 +0200 |
commit | 2eb1a14886e5290357285cab62e5ff5662b2fd56 (patch) | |
tree | 1eef78c824b64fd9d80f241e8debf17f179cc4b5 | |
parent | ec2d857194a8c573cdcb76a59eada6a8e150ed19 (diff) | |
download | dots-2eb1a14886e5290357285cab62e5ff5662b2fd56.tar.gz dots-2eb1a14886e5290357285cab62e5ff5662b2fd56.zip |
android hackaround
-rw-r--r-- | modules/obsidian-livesync.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/obsidian-livesync.nix b/modules/obsidian-livesync.nix index cfad4f3..e576eb0 100644 --- a/modules/obsidian-livesync.nix +++ b/modules/obsidian-livesync.nix @@ -79,7 +79,7 @@ in proxy_set_header X-Real-IP "$remote_addr"; proxy_set_header X-Forwarded-For "$proxy_add_x_forwarded_for"; proxy_set_header X-Forwarded-Proto "$scheme"; - add_header Access-Control-Allow-Origin "app://obsidian.md" always; + add_header Access-Control-Allow-Origin "$http_origin" always; add_header Access-Control-Allow-Methods "GET, POST, PUT, DELETE, OPTIONS" always; add_header Access-Control-Allow-Headers "Content-Type, Authorization" always; add_header Access-Control-Allow-Credentials "true" always; |