summaryrefslogtreecommitdiff
path: root/org-roam-ui.el
diff options
context:
space:
mode:
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 8726a76..4b07cde 100644
--- a/org-roam-ui.el
+++ b/org-roam-ui.el
@@ -237,9 +237,8 @@ This serves the web-build and API over HTTP."
(json-encode `((type . "orgText") (data . ,text))))))
(defservlet* file/:file text/plain ()
- (progn
(insert-file-contents-literally (org-link-decode file))
-(httpd-send-header t "text/plain" 200 :Access-Control-Allow-Origin "*")))
+(httpd-send-header t "text/plain" 200 :Access-Control-Allow-Origin "*"))
(defservlet* img/:file text/plain ()