summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstuebinm2022-07-02 03:11:11 +0200
committerstuebinm2022-07-02 03:11:11 +0200
commit7f56dbbe0a944f04fb5a69553867530e7f73d68d (patch)
treee3a688db5c4c422aea10cc9fa6ada5aced1ef1a3
parent3c6c7467ee5b07ceea6555e569f49d9390e0db0e (diff)
update tracktrain
-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"
}