Cannot host the web page in flutter 2+

here is my repo with code
tell me if I’m doing something wrong

1 Like

It looks like your asset references are failing to load:

main.dart.js:1 Failed to load resource: the server responded with a status of 404 ()

The URL your assets are being loaded from is https://helowld.github.io/main.dart.js, which is missing the repository name Hworld from the URL. The real URL should be https://helowld.github.io/Hworld/main.dart.js.

To fix this you’ll either need to modify your build/compile process to prepend Hworld/ to all your asset links, or you’ll need to add an HTML <base> tag that includes your repository name:

<base href="https://helowld.github.io/Hworld/">

Thank you very much sir. I had this problem too. Now It’s working.!!