Feature request: view page in mobile #204
Replies: 6 comments 4 replies
-
Great package! |
Beta Was this translation helpful? Give feedback.
-
I read the next.js docs, that option configures image sources, not hosts. Reading the docs... it seems that this can be used to enable other host In Lemme know if I'm thinking this correctly. And if this would be a viable option |
Beta Was this translation helpful? Give feedback.
-
Update on this. I cloned the project, replaced all I think this can be fixed by running the websocket on the diff --git a/org-roam-ui.el b/org-roam-ui.el
index 1544e75..fc720ba 100644
--- a/org-roam-ui.el
+++ b/org-roam-ui.el
@@ -180,12 +180,13 @@ This serves the web-build and API over HTTP."
;;; check if the default keywords actually exist on `orb-preformat-keywords'
;;; else add them
(setq-local httpd-port org-roam-ui-port)
+ (setq-local httpd-host "192.168.1.7")
(setq httpd-root org-roam-ui-app-build-dir)
(httpd-start)
(setq org-roam-ui-ws-server
(websocket-server
35903
- :host 'local
+ :host "192.168.1.7"
:on-open #'org-roam-ui--ws-on-open
:on-message #'org-roam-ui--ws-on-message
:on-close #'org-roam-ui--ws-on-close))
I'm guessing this should fix the issue as in web console I keep getting errors saying that firefox can't connect to Cheers! |
Beta Was this translation helpful? Give feedback.
-
I am also interested in a solution here. I do not understand why it is so complicated. There is a server running but not listening to requests from outside. |
Beta Was this translation helpful? Give feedback.
-
btw: Why is this in "Discussion" and not in "Issue"? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Thank you for this beautiful package.
It would be great to be able to use
org-roam-ui
to view my notes in phone's browser.In normal nextjs/react apps you can do so by visiting
ip:port
but this doesn't work in ORUI, probably because of this line in next.config.js:domains: ['localhost'],
.Cheers!
Beta Was this translation helpful? Give feedback.
All reactions