Allow browser/CORS access to Gitea repos

This commit is contained in:
2026-09-20 10:32:51 +02:00
parent 7a9d114d9f
commit aa8e550406
@@ -17,6 +17,10 @@ ROOT_URL = https://%(DOMAIN)s
# LETSENCRYPT_DIRECTORY = /data/gitea/https
# LETSENCRYPT_EMAIL = ops@5apps.com
[cors]
ENABLED = true
ALLOW_DOMAIN = *
[database]
DB_TYPE = postgres
HOST = <%= @postgresql_host %>
@@ -29,6 +33,7 @@ MAX_OPEN_CONNS = 20
[repository]
ROOT = <%= @repository_root_directory %>
DISABLE_DOWNLOAD_SOURCE_ARCHIVES = true
ACCESS_CONTROL_ALLOW_ORIGIN = *
[repository.signing]
SIGNING_KEY = <%= @git_home_directory %>/.ssh/id_ed25519.pub