diff --git a/ChaosBot/WebServer/App/DiscordController.cs b/ChaosBot/WebServer/App/DiscordController.cs index 39b9a52..26f2133 100644 --- a/ChaosBot/WebServer/App/DiscordController.cs +++ b/ChaosBot/WebServer/App/DiscordController.cs @@ -10,7 +10,7 @@ using NLog; namespace ChaosBot.WebServer.App { [ApiController] - [Route("/discord")] + [Route("/api/discord")] public class DiscordController : Controller { private static readonly HttpClient client = new HttpClient(); @@ -19,7 +19,7 @@ namespace ChaosBot.WebServer.App [HttpGet] public async Task Index(string code = null) { - string redirectUri = $"{Program.AppSettingsHandler.GetValue("Discord:BaseUri")}/discord"; + string redirectUri = $"{Program.AppSettingsHandler.GetValue("Discord:BaseUri")}/api/discord"; string clientId = Program.AppSettingsHandler.GetValue("Discord:ClientId"); string clientSecret = Program.AppSettingsHandler.GetValue("Discord:ClientSecret"); diff --git a/ChaosBot/wwwroot b/ChaosBot/wwwroot index 342138e..d5f6bef 160000 --- a/ChaosBot/wwwroot +++ b/ChaosBot/wwwroot @@ -1 +1 @@ -Subproject commit 342138e67817688e93e2f215ccb8eef6acad5728 +Subproject commit d5f6beff41569ca8b8cf6e38fa48a03a32824623