Skip to content

Support CORS headers to http receive-pack/send-pack like gogs #5700

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

Closed
abhishiv opened this issue Jan 11, 2019 · 0 comments · Fixed by #5719
Closed

Support CORS headers to http receive-pack/send-pack like gogs #5700

abhishiv opened this issue Jan 11, 2019 · 0 comments · Fixed by #5719
Labels
type/enhancement An improvement of existing functionality

Comments

@abhishiv
Copy link

  • Gitea version (or commit ref): 1.5.0

Description

Hello, I would like to propose adding Access-Control-Allow-Origin header flag to gitea.

I'm in terested in this in order to get @isomorphic-git/isomorphic-git working with gitea in the browser. Gogs already supports it.

[http]
ACCESS_CONTROL_ALLOW_ORIGIN = *

...

Further background

cc: @wmhilton

@abhishiv abhishiv changed the title Support CORS headers Support CORS headers to http receive-pack/send-pack like gogs Jan 11, 2019
@lunny lunny added the type/enhancement An improvement of existing functionality label Jan 13, 2019
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type/enhancement An improvement of existing functionality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants