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);