Closed g33k247 closed 1 year ago
@g33k247
Thanks for opening this issue. Please check if there's any errors on the console in the browser.
Here's what I see in my terminal:
and what my browsers look like:
On the blank page, press CTRL + SHIFT + I, or right click and select "Inspect". Switch to the console tab and check if there are any errors. Take a screenshot and attach it to this thread.
The issue seems to be related to the web page and not the server.
Here's what I see:
Here's the same view from Firefox:
Hey @g33k247
After digging around, I think I found the problem. It has something to do with your Windows registry, but I will patch it on the app in the next release.
See https://github.com/pallets/flask/issues/1045#issuecomment-42202749 for more info about the registry thing.
Looks like my registry is set correctly to text/css. Of note, I have successfully run the app from a docker container on my Windows machine so that implies the browser is fine.
@g33k247
The errors from the browser console indicated that .js
mime were set to text/plain
can you check that too in your windows registry? The javascript wasn't being loaded properly.
I made the update for the .js mime type. Perhaps it should not be text/js?
Loading module from “http://localhost:1970/assets/index.639b5e4b.js” was blocked because of a disallowed MIME type (“text/js”).
I changed the mime type to javascript per this reference: https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types.
Now it works!!
@g33k247
I've implemented (but not yet tested) an in-app fix to the registry issue. Basically, to serve the files with a preset mime type that doesn't depend on the registry.
Alright!
Enjoy. I'd like have your feedback on your experience with the app. If you ran into issues, or have any suggestions, please open an issue.
... I'm putting together a bunch of bug fixes and implementing missing & new features for the next release. Feel free to reach out.
Thanks.
Downloaded the Windows version of the app. Opens and provides the information below but when the browser connects, the session is "blank" and no data is displayed whatsoever. I do see "Swing Music" on the browser's tab. Duplicated in Google Chrome, Mozilla FireFox, and Microsoft Edge.
The data folder at C:\Users\username.swingmusic was created.