aboutsummaryrefslogtreecommitdiffstats
path: root/apps/static-website/appspec.nix
diff options
context:
space:
mode:
authorLibravatar Alexander Foremny <aforemny@posteo.de>2024-03-05 07:49:24 +0100
committerLibravatar Alexander Foremny <aforemny@posteo.de>2024-03-05 07:55:06 +0100
commit6f2f488db443e619b72d2cf5d4fbff11f8eef578 (patch)
treea78fc4e91fdee743a549724606792723729261c5 /apps/static-website/appspec.nix
parent212d6511b76993464d535aacbc7eca3cec7d1c68 (diff)
static.nomath.org: add cors
Diffstat (limited to 'apps/static-website/appspec.nix')
-rw-r--r--apps/static-website/appspec.nix4
1 files changed, 4 insertions, 0 deletions
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;