proxy: moved /grafik to /kurz
This commit is contained in:
parent
5e48f5b46b
commit
bdce8e4518
2 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@ using Microsoft.Extensions.Options;
|
|||
namespace Ksp.WebServer.Controllers
|
||||
{
|
||||
[ApiController]
|
||||
[Route("grafik")]
|
||||
[Route("kurz")]
|
||||
public class GrafikPageController : ControllerBase
|
||||
{
|
||||
private readonly ILogger<TasksController> logger;
|
||||
|
|
|
@ -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"))
|
||||
|
|
Reference in a new issue