diff --git a/site-cookbooks/kosmos_gitea/templates/default/app.ini.erb b/site-cookbooks/kosmos_gitea/templates/default/app.ini.erb index 9b50f1a..d393806 100644 --- a/site-cookbooks/kosmos_gitea/templates/default/app.ini.erb +++ b/site-cookbooks/kosmos_gitea/templates/default/app.ini.erb @@ -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