Set correct content type

This commit is contained in:
Tristan B. Kildaire 2020-07-27 11:05:34 +02:00
parent a4eefe002a
commit 1a1e858087
1 changed files with 1 additions and 1 deletions

View File

@ -2,6 +2,6 @@ import vibe.vibe;
void login(HTTPServerRequest req, HTTPServerResponse resp)
{
resp.headers["Content-Type"] = "text/plain";
resp.headers["Content-Type"] = "text/html";
resp.writeBody(cast(ubyte[])"Welcome to Inggs webmail");
}