From 7f56dbbe0a944f04fb5a69553867530e7f73d68d Mon Sep 17 00:00:00 2001 From: stuebinm Date: Sat, 2 Jul 2022 03:11:11 +0200 Subject: update tracktrain --- chaski/services/tracktrain.nix | 3 +++ flake.lock | 10 +++++----- 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" } -- cgit v1.2.3