v1.5.0
flutter_cors
Flutter의 Chrome 인스턴스에 대한 CORS 검사를 비활성화하고 다시 활성화하는 스크립트
197좋아요 2.3천30일 다운로드160Pub 점수
macOSWindowsLinux
Flutter의 Chrome 인스턴스에 대한 CORS 검사를 비활성화하고 다시 활성화하는 스크립트
아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
A script to disable and re-enable CORS checks for Flutter's Chrome instances
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.
$ dart pub global activate flutter_cors
-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