Closed paulshen closed 2 years ago
Adds cli script and exposes it as the package binary. Supports -p --port flag for choosing port and -h --host flag for choosing host.
-p
--port
-h
--host
related #104 and #35
makes sense! the idea was that you could then run cors anywhere with just npx cors-anywhere --port 5000 without other installation steps.
npx cors-anywhere --port 5000
looking around, https://github.com/fjc0k/cors-anywhere-cli does the same
Adds cli script and exposes it as the package binary. Supports
-p
--port
flag for choosing port and-h
--host
flag for choosing host.related #104 and #35