Remove redundant content-type header
This commit is contained in:
parent
ea837f78bd
commit
37ee6f9593
1 changed files with 0 additions and 2 deletions
|
@ -25,8 +25,6 @@ const about = struct {
|
||||||
pub const method = .GET;
|
pub const method = .GET;
|
||||||
|
|
||||||
pub fn handler(_: anytype, res: anytype, srv: anytype) !void {
|
pub fn handler(_: anytype, res: anytype, srv: anytype) !void {
|
||||||
try res.headers.put("Content-Type", "text/html");
|
|
||||||
|
|
||||||
try res.template(.ok, tmpl, .{
|
try res.template(.ok, tmpl, .{
|
||||||
.community = srv.community,
|
.community = srv.community,
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue