proxy: moved /grafik to /kurz

This commit is contained in:
Vašek Šraier 2020-11-30 11:50:50 +01:00
parent 5e48f5b46b
commit bdce8e4518
2 changed files with 2 additions and 2 deletions

View file

@ -16,7 +16,7 @@ using Microsoft.Extensions.Options;
namespace Ksp.WebServer.Controllers namespace Ksp.WebServer.Controllers
{ {
[ApiController] [ApiController]
[Route("grafik")] [Route("kurz")]
public class GrafikPageController : ControllerBase public class GrafikPageController : ControllerBase
{ {
private readonly ILogger<TasksController> logger; private readonly ILogger<TasksController> logger;

View file

@ -37,7 +37,7 @@ namespace Ksp.WebServer
if (encyklopedie is object) if (encyklopedie is object)
{ {
encyklopedie.TextContent = "Kurzy"; encyklopedie.TextContent = "Kurzy";
encyklopedie.SetAttribute("href", "/grafik"); encyklopedie.SetAttribute("href", "/kurz");
if ("grafik" == path) if ("grafik" == path)
{ {
foreach (var li in document.QuerySelectorAll("#menu ul li.active")) foreach (var li in document.QuerySelectorAll("#menu ul li.active"))