Skip to content
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

Show better message when there is no index.html #235

Open
aomarks opened this issue Oct 9, 2021 · 1 comment
Open

Show better message when there is no index.html #235

aomarks opened this issue Oct 9, 2021 · 1 comment

Comments

@aomarks
Copy link
Member

aomarks commented Oct 9, 2021

We currently just show a text "Playground not file" response when there is no index.html file. Maybe we could display an overlay error in the same style as the one pictured here: #224 that tells the user they need to create an index.html

@justinfagnani
Copy link
Collaborator

I think this would be a little more clear with an address bar as in #278

Then a 404 would make sense for any HTML file not found. We could add a better message based on the files in the project, like "create an index.html file" or "go to foo.html".

@aomarks aomarks removed their assignment Jun 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants