Fix basic auth

This commit is contained in:
2025-12-04 14:29:50 -06:00
parent b243b1c88d
commit b3f6007e69

View File

@@ -25,7 +25,9 @@ namespace Tesses::Framework::Http {
if(this->server)
return this->server->Handle(ctx);
ctx.statusCode = InternalServerError;
return false;
ctx.WithMimeType("text/html").SendText("<h1>Internal Server Error</h1>");
return true;
}