summaryrefslogtreecommitdiff
path: root/org-roam-ui.el
diff options
context:
space:
mode:
authorThomas F. K. Jorna <[email protected]>2021-07-20 21:10:18 +0200
committerThomas F. K. Jorna <[email protected]>2021-07-20 21:10:18 +0200
commitf314f28dec8322fdd2a92bb57ed22eba099f3b73 (patch)
tree09830643c2b188e518e79a49000828635cf09496 /org-roam-ui.el
parent4b9b96afcf9886d3f22fcd88cddd032e17437ba2 (diff)
set cors header correctly
Diffstat (limited to 'org-roam-ui.el')
-rw-r--r--org-roam-ui.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/org-roam-ui.el b/org-roam-ui.el
index 6782fd5..8f796d2 100644
--- a/org-roam-ui.el
+++ b/org-roam-ui.el
@@ -61,6 +61,6 @@
(push (cons (car color) (car (cdr color))) ui-theme))
(insert (json-encode ui-theme))))
(insert "{}"))
- (httpd-send-header t "application/json" 200 :Access-Control-Allow-Origin "*")))
+ (httpd-send-header t "text/plain" 200 :Access-Control-Allow-Origin "*")))
(provide 'org-roam-ui)