Cannot enable CORS in config #59
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi,
I'm trying to host a Hugo site for my organization. I'm trying to enable Decap CMS with login via Gitea, but I'm facing a CORS issue ("TypeError: Failed to fetch" after Gitea authorization).
I tried to enable CORS by adding environment variables (GITEA__cors__ENABLED=true / GITEA__cors__ALLOW_DOMAIN=https://example.org) both via abra app config and forcing them via docker service update, but it didn't work.
I also looked for the app.ini file inside the volumes to add the settings manually, but since it's the gitea/gitea:1.24.2-rootless image, /etc/gitea/app.ini inside the container appears empty/read-only and it's not mapped in the standard _data volume paths.
How can I properly inject the [cors] settings into this specific Co-op Cloud Gitea recipe?
Thanks!