summaryrefslogtreecommitdiff
path: root/org-roam-ui.el
diff options
context:
space:
mode:
authorThomas F. K. Jorna <[email protected]>2021-10-07 01:42:14 +0200
committerThomas F. K. Jorna <[email protected]>2021-10-07 01:42:14 +0200
commitfd4edbd6a854275c10c5b21173f0875921d547d1 (patch)
treeae25a9a95609636be0fadf79f70f4ef8eb01b4b5 /org-roam-ui.el
parent33839479e269bed905f9eefc374060b9d3ee7e19 (diff)
feat(preview): hover links + ui upgrade
Diffstat (limited to 'org-roam-ui.el')
-rw-r--r--org-roam-ui.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/org-roam-ui.el b/org-roam-ui.el
index 6fbb279..0fbcf5e 100644
--- a/org-roam-ui.el
+++ b/org-roam-ui.el
@@ -240,8 +240,7 @@ This serves the web-build and API over HTTP."
(let* ((node (org-roam-populate (org-roam-node-create :id id)))
(file (org-roam-node-file node)))
(insert-file-contents-literally file)
-(httpd-send-header t "text/html" 200
- :Access-Control-Allow-Origin "*")))
+(httpd-send-header t "text/plain" 200 :Access-Control-Allow-Origin "*")))
(defun org-roam-ui--on-save ()