Set correct content type
This commit is contained in:
parent
a4eefe002a
commit
1a1e858087
|
@ -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");
|
||||
}
|
Loading…
Reference in New Issue