- 404 favicon

- Try to fix chrome redirect bug
This commit is contained in:
Infi
2024-08-28 19:57:50 +02:00
parent bf446c5511
commit 6fe560d111
4 changed files with 50 additions and 14 deletions
+2 -3
View File
@@ -79,7 +79,6 @@ public class HostContext
{
IsActive = false;
IsStopping = true;
await Task.Delay(10000);
Host.Stop();
// Save our session tokens
@@ -114,9 +113,9 @@ public class HostContext
Plugin.Log.Error(args.Exception, "Webserver threw an exception.");
}
private async Task DefaultRoute(HttpContextBase ctx)
private async Task<bool> DefaultRoute(HttpContextBase ctx)
{
await ctx.Response.Send("Nothing to see here.");
return await ctx.Response.Send("Nothing to see here.");
}
private async Task CheckAuthenticationCookie(HttpContextBase ctx)