Make wasm GIT_CORS_PROXY env var much more configurable by ianthomas23 · Pull Request #155 · QuantStack/git2cpp · GitHub
Skip to content

Make wasm GIT_CORS_PROXY env var much more configurable#155

Merged
ianthomas23 merged 1 commit into
mainfrom
cors-proxy-2
May 14, 2026
Merged

Make wasm GIT_CORS_PROXY env var much more configurable#155
ianthomas23 merged 1 commit into
mainfrom
cors-proxy-2

Conversation

@ianthomas23

Copy link
Copy Markdown
Member

Make wasm GIT_CORS_PROXY env var much more configurable with a variety of substitutions for the url, host, api_key, etc. For example, for the public CORS proxy at https://corsproxy.io/ you could use:

export GIT_CORS_PROXY='https://corsproxy.io/?key={api_key}&url={url:encode}'
export GIT_CORS_PROXY_API_KEY=whatever

Needs rigorous downstream testing after merging. Documentation explaining the options will follow in a separate PR.

@ianthomas23 ianthomas23 added the enhancement New feature or request label May 13, 2026
@codecov

codecov Bot commented May 13, 2026

Copy link
Copy Markdown

@ianthomas23 ianthomas23 merged commit d7d2008 into main May 14, 2026
6 of 7 checks passed
@ianthomas23 ianthomas23 deleted the cors-proxy-2 branch May 14, 2026 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant