-
-
Notifications
You must be signed in to change notification settings - Fork 651
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
Page does not load correctly when opening index.html locally #156
Comments
Please try opening your browser's DevTools / Console; perhaps something will be logged there. |
...I am afraid you are running into JakeChampion/fetch#92 (comment). Running stuff via file:/// is generally not recommended. |
Output from the qutebrowser devtools console:
What changed with the refactor that doesn't allow just opening index.html? Thanks! |
Opening index.html itself is okay. But the app fails to fetch a crucial bit of CSS that is later used to inject styles into the map (exported SVG needs the inline CSS to maintain consistent visuals). And fetching stuff while using
I will have to update the README then. Using On the other hand, we might be able to fetch the problematic CSS file via XHR - this API might not be CORS-limited. |
Let me know what I can do to help test! I really appreciated the offline capability that the app had previously. It's a much lighter and simpler version of Freemind. Ultimately I would have no problem spinning up an nginx container to run it locally via a web server but I definitely prefer the simplicity of just opening index.html. Perhaps online/offline modes depending on use case? Thanks for your work on this project!! |
The XHR workaround only seems to work in Firefox. I do not care about Chrome that much, but the limited support probably means that the said functionality might get removed soon. |
Tried both in qutebrowser and chrome on Fedora 34 and got the same result when opening
index.html
locally on my computer:The app is not functional at all. The most recent commit that still functions normally is d8dda2d (right before your big refactor, I think 😄 ).
Let me know what other information I can provide!
The text was updated successfully, but these errors were encountered: