From 312d7dbbfaa91176966c318cf7cc09aef43c9125 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=BC=D0=B8=D1=82=D1=80=D0=B8=D0=B9=20=D0=A8=D0=B8?= =?UTF-8?q?=D0=BC=D0=B0=D0=BD=D1=81=D0=BA=D0=B8=D0=B9?= Date: Thu, 16 Nov 2023 19:38:02 +0300 Subject: [PATCH] HOTFIX --- Controllers/WeatherForecastController.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Controllers/WeatherForecastController.cs b/Controllers/WeatherForecastController.cs index e40744a..244e4e3 100644 --- a/Controllers/WeatherForecastController.cs +++ b/Controllers/WeatherForecastController.cs @@ -6,11 +6,11 @@ using System.Text.Json.Nodes; namespace DiscordApp.Controllers { [ApiController] - [Route("[controller]")] + [Route("[controller]/")] public class redirects : ControllerBase { - [HttpGet("/redirects/{uri}")] + [HttpGet("redirects/{uri}")] public IActionResult Get(string uri) { var data = Startup.appDbContext.Redirects.First(k => k.Id == uri);