-
Notifications
You must be signed in to change notification settings - Fork 67
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
loading hub.js does not consider base href #298
Comments
Hello @ArinFaraj , thanks for leaving your valuable opinion. Yeah, it would be very nice to support subpaths on the web. As you said, it doesn't seem to be so hard to implement. I will look into this when I have time later. Meanwhile, any PR is welcome :) |
I've been testing this issue for a while, and it looks like |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When building a Flutter web project with
--base-href
set to a different path, the following line does not consider it and fails as the file is supposed to be in the different path.rinf/flutter_ffi_plugin/lib/src/load_web.dart
Line 23 in d8e012c
building a flutter project with
flutter build web --release --base-href /new/
will set the base element to<base href="/new/">
in theindex.html
file.I have not tested it because I am now a little busy, but perhaps making the
/pkg/hub.js
path relativepkg/hub.js
will resolve the problem.The text was updated successfully, but these errors were encountered: