From bdce8e451870c72172b1f7fc2533c851177ff790 Mon Sep 17 00:00:00 2001 From: Vasek Sraier Date: Mon, 30 Nov 2020 11:50:50 +0100 Subject: [PATCH] proxy: moved /grafik to /kurz --- server/Ksp.WebServer/Controllers/GrafikPageController.cs | 2 +- server/Ksp.WebServer/KspPageRewriter.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/Ksp.WebServer/Controllers/GrafikPageController.cs b/server/Ksp.WebServer/Controllers/GrafikPageController.cs index 40fc950..b1b3a62 100644 --- a/server/Ksp.WebServer/Controllers/GrafikPageController.cs +++ b/server/Ksp.WebServer/Controllers/GrafikPageController.cs @@ -16,7 +16,7 @@ using Microsoft.Extensions.Options; namespace Ksp.WebServer.Controllers { [ApiController] - [Route("grafik")] + [Route("kurz")] public class GrafikPageController : ControllerBase { private readonly ILogger logger; diff --git a/server/Ksp.WebServer/KspPageRewriter.cs b/server/Ksp.WebServer/KspPageRewriter.cs index 18e3410..ffe6577 100644 --- a/server/Ksp.WebServer/KspPageRewriter.cs +++ b/server/Ksp.WebServer/KspPageRewriter.cs @@ -37,7 +37,7 @@ namespace Ksp.WebServer if (encyklopedie is object) { encyklopedie.TextContent = "Kurzy"; - encyklopedie.SetAttribute("href", "/grafik"); + encyklopedie.SetAttribute("href", "/kurz"); if ("grafik" == path) { foreach (var li in document.QuerySelectorAll("#menu ul li.active"))