about summary refs log tree commit diff
path: root/modules
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2024-10-18 13:23:42 +0200
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2024-10-18 13:23:42 +0200
commitb68586cd0b39e590efba6a5e71651fb5e1e02f5c (patch)
treea474e97c647c367d41baee19887efa1046c4f78e /modules
parent63df6f75b532931a1353884a883fb8425455bc26 (diff)
downloaddots-b68586cd0b39e590efba6a5e71651fb5e1e02f5c.tar.gz
dots-b68586cd0b39e590efba6a5e71651fb5e1e02f5c.zip
t14: 88 current 2024-10-18 13:23:35 24.05.20241004.6e6b3dd 6.6.54 *
Diffstat (limited to 'modules')
-rw-r--r--modules/obsidian-livesync.nix4
1 files changed, 2 insertions, 2 deletions
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";