From 6f2f488db443e619b72d2cf5d4fbff11f8eef578 Mon Sep 17 00:00:00 2001 From: Alexander Foremny Date: Tue, 5 Mar 2024 07:49:24 +0100 Subject: static.nomath.org: add cors --- apps/static-website/appspec.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'apps/static-website/appspec.nix') diff --git a/apps/static-website/appspec.nix b/apps/static-website/appspec.nix index c7e919e..e1b41c0 100644 --- a/apps/static-website/appspec.nix +++ b/apps/static-website/appspec.nix @@ -2,6 +2,10 @@ description = "static website"; endOfLife = null; options = { + cors = lib.mkOption { + type = lib.types.nullOr lib.types.str; + default = null; + }; domain = lib.mkOption { description = "Domain of the website"; type = fysilib.types.fqdn; -- cgit v1.2.3