[feat] introduce rawgit
registry, cross origin resource sharing repo/raw/branch/main/file
#33216
Labels
rawgit
registry, cross origin resource sharing repo/raw/branch/main/file
#33216
Description
BUG
repository.ACCESS_CONTROL_ALLOW_ORIGIN
is not workingreproduce
Gitea
access-control-allow-origin
defaults to disabled.According to https://docs.gitea.com/administration/config-cheat-sheet
With docker compose env config
Manually confirm
app.ini
contains everything belowGitea
access-control-allow-origin
now working within gitea api.Until now, things are all expected.
actual
Gitea
access-control-allow-origin
not working within gitea repository.expected
Gitea
access-control-allow-origin
working within gitea repository.Gitea Version
Powered by Gitea Version: 1.23.1
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
docker gitea 1.23.1
Database
None
The text was updated successfully, but these errors were encountered: