Created
July 30, 2021 01:30
-
-
Save adityadees/20dd1b6f2d5d74aa56679c0d09ae42f6 to your computer and use it in GitHub Desktop.
FLUTTER WEB CORS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1- Go to flutter\bin\cache and remove a file named: flutter_tools.stamp | |
2- Go to flutter\packages\flutter_tools\lib\src\web and open the file chrome.dart. | |
3- Find '--disable-extensions' | |
4- Add '--disable-web-security' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
run/compile your Flutter web project using web-renderer. This should solve the issue both locally and remotely: