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.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/org-roam-ui.el b/org-roam-ui.el
index f0452a6..60070cd 100644
--- a/org-roam-ui.el
+++ b/org-roam-ui.el
@@ -101,7 +101,7 @@ ROWS is the sql result, while COLUMN-NAMES is the columns to use."
((colors (butlast doom-themes--colors (- (length doom-themes--colors) 25))) ui-theme (list nil))
(progn
(dolist (color colors) (push (cons (car color) (car (cdr color))) ui-theme))
- (insert (json-encode ui-theme)))))
+ (insert (format "data: %s\n\n" (json-encode ui-theme))))))
(httpd-send-header t "text/event-stream" 200 :Access-Control-Allow-Origin "*")))