From b3b2782f45190479e1090347b64660070c7006d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Sun, 28 Apr 2024 23:54:52 +0200 Subject: [PATCH] Fixed wrong url to KiCad API in user settings if using a prefixed reverse proxy This fixes issue #587 --- templates/users/_api_tokens.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/users/_api_tokens.html.twig b/templates/users/_api_tokens.html.twig index 4c7c83e8..b274c9b6 100644 --- a/templates/users/_api_tokens.html.twig +++ b/templates/users/_api_tokens.html.twig @@ -90,7 +90,7 @@ - {{ absolute_url('/en/kicad-api/') }} + {{ url("kicad_api_root") | replace({"v1/": ""}) }}