Search packages, repositories and app categories

GitHub repositoryRexios80/flutter_cors

flutter_cors

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

flutter_cors project cover
Stars
37
Forks
6
Last push (UTC)
Oct 26, 2023
Project status
Active

Original README

English project snapshot. Visit GitHub for the latest content.

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
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
Rexios GitHub avatar
GitHub author

Rexios ↗

I do things sometimes

@IO-Design-Team
LanguagesDart

Packages published by this repository

Dependencies used

Dependency list 5 items

  • args^2.3.0
  • pub_update_checker^1.2.0
  • ansicolor^2.0.1
  • testDevelopment^1.24.8
  • rexios_lintsDevelopment^6.0.1

How do I choose a repository?

Start with your use case, compare repository activity, and check the original project before adopting it.

  1. Search by repository name, owner or description, then narrow the results by topic.
  2. Compare stars, forks and recent pushes. Stars show community interest, not a guarantee of quality.
  3. Read the README, license and issues on GitHub before using a project.

Sources and maintenance

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗