flutter_cors 1.5.0 copy "flutter_cors: ^1.5.0" to clipboard
flutter_cors: ^1.5.0 copied to clipboard

A script to disable and re-enable CORS checks for Flutter's Chrome instance

A script to disable and re-enable CORS checks for Flutter's Chrome instances

Note #

This script only disables CORS checks for local testing, and will not help with CORS issues in production. Do not ask for help with production CORS issues as that is outside the scope of this project.

Use as an executable #

Installation #

$ dart pub global activate flutter_cors
copied to clipboard

Usage #

-e, --enable                 Enable CORS checks
-d, --disable                Disable CORS checks
-b, --disable-banner         Disable the warning banner in Chrome
-p, --flutter-path=<path>    Flutter root path (determined automatically if not specified)

$ fluttercors --disable
$ fluttercors --enable
$ fluttercors -db -p /path/to/flutter
copied to clipboard
191
likes
160
points
2.81k
downloads

Publisher

verified publisherrexios.dev

Weekly Downloads

2024.09.09 - 2025.03.24

A script to disable and re-enable CORS checks for Flutter's Chrome instance

Repository (GitHub)

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

ansicolor, args, pub_update_checker

More

Packages that depend on flutter_cors