Merge pull request 'Allow browser/CORS access to Gitea repos' (#671) from feature/gitea_cors into master
Reviewed-on: #671
This commit was merged in pull request #671.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user