Very little configuration/customization can be added to the instance of that web server. Indeed, when you run a Flutter Web Application, you “ simply” launch a basic web server that listens to a certain “ IP_address:port” and serves the files located in the “ web” folder. This statement is very important and very often forgotten… “ Flutter Web Application does NOT run behind a fully configurable Web Server” Reminder - Flutter Web application does NOT run behind a fully configurable Web Server I also tried to play a bit with the Service Workers, but could not find any solution that way neither.īefore giving you the solution I have implemented, I would like to share with you some important pieces of information… Having a look at the Flutter Roadmap 2020, Flutter Web should be officially released this year with a consequence that this article might not be relevant quite soon, as the problem it addresses might be solved in the coming months. This article has been written in February 2020 and is based on version 1.14.6 of Flutter, running of Channel Beta. This PR is still under validation but keep an eye on it. This article explains the solution I implemented…Īs I said when I posted this article, things are evolving quite fast in the Flutter world and my good friend Simon Lightfood issued the following Pull Request, which might give a Standard Solution to the problem I describe in this article.
I searched a lot the Internet but never found any good solution.
#APP.JS 404 ACTIX WEB HOW TO#
How to handle the ‘Page not Found 404’ error, manual direct URL entry and avoid the hash character in the URL?