I need web app with base url as
https://example.com/mojjo-test/index.html#/
I updated my base url as documented in flutter website: https://flutter.dev/docs/development/ui/navigation/url-strategies
<base href="/mojjo-test/">
in index.html
As per flutter documentation Hashing is already enabled
Observations:
1.Flutter web app loads, shows url while loading,
http://example.com/mojjo-test/index.html
2.And after some seconds it redirects to
http://example.com/mojjo-test/#/
- Now if we do a refresh, browser will try to load
http://example.com/mojjo-test/#/
and shows an access denied
I am assuming that instead of redirecting to http://example.com/mojjo-test/#/
, it should redirect to http://example.com/mojjo-test/index.html#/
Please provide suggestions on how to achieve it. I would like to keep the initial path to be https://example.com/mojjo-test/index.html#/
(with index.html)