-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
deno --init serve: http://0.0.0.0:8000
does not work with Safari
#27722
Comments
http://localhost:8000
does not work with Safarihttp://0.0.0.0:8000
does not work with Safari
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.
Yeah, I think it would be better to show localhost so that it works in more cases. |
Hi @dsherret i can check this one ? |
sure |
Thanks! |
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: