Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dartpad_ui] Is the --disable-web-security flag still needed? #3106

Open
Levi-Lesches opened this issue Dec 13, 2024 · 0 comments
Open

[dartpad_ui] Is the --disable-web-security flag still needed? #3106

Levi-Lesches opened this issue Dec 13, 2024 · 0 comments

Comments

@Levi-Lesches
Copy link
Contributor

The README for pkgs/dartpad_ui says:

How to run

To run this locally, run:

flutter run -d chrome --web-browser-flag "--disable-web-security"

We pass the --disable-web-security flag to Chrome as we're not able to
configure the flutter run web server to pass CORS headers for
AssetManifest.json, FontManifest.json, and other resources.

Running without those flags (just flutter run -d chrome) works fine, and I can even connect to the localhost channel when running the server.

It seems this section is out-of-date and can be removed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant