FLUTTER ECOSYSTEM

Rexios80/flutter_cors

Flutter の Chrome インスタンスの CORS チェックを無効化および再有効化するスクリプト

flutter_cors のプロジェクト画像
Stars
37
Forks
6
最終プッシュ(UTC)
2023/10/26
プロジェクト状態
公開中
Rexios GitHub avatar
GITHUB User

Rexios ↗

I do things sometimes

@IO-Design-Team
言語Dart

このリポジトリが公開するパッケージ

使用している依存関係

依存関係一覧 5 件
  • args^2.3.0
  • pub_update_checker^1.2.0
  • ansicolor^2.0.1
  • test開発用^1.24.8
  • rexios_lints開発用^6.0.1

元の README

以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。

README を開く / 閉じる

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