diff options
| author | stuebinm | 2026-05-05 00:34:17 +0200 |
|---|---|---|
| committer | stuebinm | 2026-05-05 00:34:17 +0200 |
| commit | be15ada5592bafde14870295b84ab9e14f942000 (patch) | |
| tree | 9dae4da447490aec2d1d9fc3bb966b031d1db5f6 | |
| parent | 9f3769438ed44795dc302e47e1159e1d3b052510 (diff) | |
(these are hard-coded on the google side, so we can't have the nice
versioning for these)
| -rw-r--r-- | chaski/services/tracktrain.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chaski/services/tracktrain.nix b/chaski/services/tracktrain.nix index 77a1ab7..7bc5217 100644 --- a/chaski/services/tracktrain.nix +++ b/chaski/services/tracktrain.nix @@ -33,6 +33,9 @@ in add_header 'Access-Control-Allow-Origin' '*' always; ''; }; + locations."/api/gtfs/".extraConfig = '' + rewrite /gtfs/(.*) /api/v1/gtfs/$1; + ''; locations."/metrics/" = { proxyPass = "http://localhost:2342"; proxyWebsockets = true; |
