From b68586cd0b39e590efba6a5e71651fb5e1e02f5c Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Fri, 18 Oct 2024 13:23:42 +0200 Subject: t14: 88 current 2024-10-18 13:23:35 24.05.20241004.6e6b3dd 6.6.54 * --- modules/obsidian-livesync.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules') diff --git a/modules/obsidian-livesync.nix b/modules/obsidian-livesync.nix index 5841202..3925bd2 100644 --- a/modules/obsidian-livesync.nix +++ b/modules/obsidian-livesync.nix @@ -81,14 +81,14 @@ 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"; + # add_header Access-Control-Allow-Origin "app://obsidian.md"; add_header Access-Control-Allow-Methods "GET, POST, PUT, DELETE, OPTIONS"; add_header Access-Control-Allow-Headers "Content-Type, Authorization"; add_header Access-Control-Allow-Credentials "true"; add_header Access-Control-Max-Age 86400; if ($request_method = OPTIONS) { - add_header Access-Control-Allow-Origin "app://obsidian.md"; + # add_header Access-Control-Allow-Origin "app://obsidian.md"; add_header Access-Control-Allow-Methods "GET, POST, PUT, DELETE, OPTIONS"; add_header Access-Control-Allow-Headers "Content-Type, Authorization"; add_header Access-Control-Allow-Credentials "true"; -- cgit 1.4.1