Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: removed unnecessary (and failing) cors proxy from git push calls #471

Closed
wants to merge 1 commit into from

Conversation

rc-davis
Copy link
Contributor

@rc-davis rc-davis commented Jul 13, 2022

If we merge #470, then we should abandon this PR (because #470 brings in this change as well).

This backend uses the isomorphic-git package to create repositories and push them to GitHub. The isomorphic-git push method has an optional corsProxy argument that allows the package to work in a browser, but is unnecessary in a backend such as this. For some reason, this argument was set to https://cors.isomorphic-git.org/, a proxy set up by the isomorphic-git project that is only guaranteed to work for requests sent from https://isomorphic-git.github.io/, though it sometimes works from other origins. The configuration of this proxy must have changed on the evening of 11-July-2022, because all of our requests began to fail at that time. The fix is simple: stop using the proxy and everything works.

@rc-davis
Copy link
Contributor Author

Closing, because this change was brought in by #470.

@rc-davis rc-davis closed this Jul 14, 2022
This was referenced Jul 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant