diff options
Diffstat (limited to 'org-roam-ui.el')
-rw-r--r-- | org-roam-ui.el | 3 |
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 () |