From 920832638961272b2da0e77a9b127cd0bb0d9fd1 Mon Sep 17 00:00:00 2001 From: ltadeu6 Date: Mon, 25 May 2026 18:03:28 -0300 Subject: [PATCH] Enable Forgejo CORS for tadix.dev (homepage git projects fetch) --- hosts/NixOracle/configuration.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hosts/NixOracle/configuration.nix b/hosts/NixOracle/configuration.nix index fa6397b..072eb3d 100644 --- a/hosts/NixOracle/configuration.nix +++ b/hosts/NixOracle/configuration.nix @@ -203,6 +203,11 @@ in { }; service.DISABLE_REGISTRATION = true; log.LEVEL = "Warn"; + cors = { + ENABLED = true; + ALLOW_DOMAIN = "tadix.dev"; + METHODS = "GET,HEAD,OPTIONS"; + }; }; };