Access-Control-Allow-Origin at try.gitea.io #2246

Closed
opened 2025-11-02 04:29:22 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @sustrik on GitHub (Aug 25, 2018).

I am making a browser-based application that uses Gitea API. I wanted to test it against try.gitea.io

However, it doesn't work because Access-Control-Allow-Origin is not set. Can it be possibly set to * ?

Originally created by @sustrik on GitHub (Aug 25, 2018). I am making a browser-based application that uses Gitea API. I wanted to test it against try.gitea.io However, it doesn't work because Access-Control-Allow-Origin is not set. Can it be possibly set to * ?
GiteaMirror added the type/question label 2025-11-02 04:29:22 -06:00
Author
Owner

@SagePtr commented on GitHub (Aug 25, 2018):

For example, put your own nginx before gitea as reverse proxy and configure header there.

@SagePtr commented on GitHub (Aug 25, 2018): For example, put your own nginx before gitea as reverse proxy and configure header there.
Author
Owner

@lafriks commented on GitHub (Aug 25, 2018):

That would be security issue. You can always set up your local test instace with sqlite.

@lafriks commented on GitHub (Aug 25, 2018): That would be security issue. You can always set up your local test instace with sqlite.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#2246