summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chaski/services/tracktrain.nix3
-rw-r--r--flake.lock10
2 files changed, 8 insertions, 5 deletions
diff --git a/chaski/services/tracktrain.nix b/chaski/services/tracktrain.nix
index b78014f..bd99abf 100644
--- a/chaski/services/tracktrain.nix
+++ b/chaski/services/tracktrain.nix
@@ -8,6 +8,9 @@
};
enableACME = true;
forceSSL = true;
+ extraConfig = ''
+ add_header 'Access-Control-Allow-Origin' '*' always;
+ '';
};
networking.firewall.allowedTCPPorts = [ 443 ];
diff --git a/flake.lock b/flake.lock
index 565ae84..90e8d9f 100644
--- a/flake.lock
+++ b/flake.lock
@@ -271,17 +271,17 @@
"tracktrain": {
"flake": false,
"locked": {
- "lastModified": 1655500338,
- "narHash": "sha256-XEhoT7bWlzxsZ0wFUPgL9/64Itxsbx2E++l6Shiq4Fk=",
+ "lastModified": 1656714934,
+ "narHash": "sha256-aqlsiisc2Vwr7FfYB8YJ53JRctsRV+N/tpF8p23bggQ=",
"ref": "main",
- "rev": "9d6ffed9e0bd623f84fef5d085d86c4b298e5394",
- "revCount": 14,
+ "rev": "6c25964c0165530e7db6650eea79cbac99031353",
+ "revCount": 19,
"type": "git",
"url": "https://stuebinm.eu/git/tracktrain"
},
"original": {
"ref": "main",
- "rev": "9d6ffed9e0bd623f84fef5d085d86c4b298e5394",
+ "rev": "6c25964c0165530e7db6650eea79cbac99031353",
"type": "git",
"url": "https://stuebinm.eu/git/tracktrain"
}