Hosting a Flutter app at a non-root location

Update the <base href="/"> tag in web/index.html
to the path where your app is hosted.
For example, to host your Flutter app at
my_app.dev/flutter_app, change
this tag to <base href="/flutter_app/">.