You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to create and run a new project on my ARM Mac:
deno --init serve
When I pasted http://0.0.0.0:8000/ into Safari, I just got "about:blank".
I discovered it works correctly on Chrome.
Surprisingly, http://127.0.0.1:8000 (and localhost) work on Safari. Would it make more sense to tell people that?
The text was updated successfully, but these errors were encountered:
drernie
changed the title
deno --init serve: http://localhost:8000 does not work with Safari
deno --init serve: http://0.0.0.0:8000 does not work with Safari
Jan 18, 2025
Also, maybe it is just me, but I found it disturbing that 'hello.js' was text to be rendered rather than a script to be run. Shouldn't that be a "hello.txt" or even an HTML file?
Also, maybe it is just me, but I found it disturbing that 'hello.js' was text to be rendered rather than a script to be run. Shouldn't that be a "hello.txt" or even an HTML file?
It's a static folder, which contains static assets and static assets might be javascript files for the client. You can define how it behaves in main.ts. Yeah, for demonstrational purposes it might be better if it expanded on the example and had more static files.
Surprisingly, http://127.0.0.1:8000 (and localhost) work on Safari. Would it make more sense to tell people that?
Yeah, I think it would be better to show localhost so that it works in more cases.
Version: Deno 2.1.6 (and 2.1.4)
I tried to create and run a new project on my ARM Mac:
deno --init serve
When I pasted
http://0.0.0.0:8000/
into Safari, I just got "about:blank".I discovered it works correctly on Chrome.
Surprisingly,
http://127.0.0.1:8000
(andlocalhost
) work on Safari. Would it make more sense to tell people that?The text was updated successfully, but these errors were encountered: