-
-
Notifications
You must be signed in to change notification settings - Fork 34
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
Support loading an HTML file with a custom name #36
Conversation
You need to update the types too. |
Thanks :) |
1 similar comment
Thanks :) |
Thanks for going through it so quickly! |
An example of this would be nice. serving html files inside sub folders doesn’t appear to work well. I have this example
now when creating windows I can use the following urls
The thirdWin doesn’t work, I don’t know why? I’m I doing something wrong or something? |
You may need to add a separate scheme for the other windows to work. |
As discussed in #33, this makes it possible to load a file that isn't called
index.html
, which could be useful if you're serving more than one file. I put this together for my own use but figured it may be useful for others. Feel free to make any changes!