Skip to content

Commit f4dde46

Browse files
committed
Fixed build
Signed-off-by: Vishal Rana <[email protected]>
1 parent 003b0ad commit f4dde46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

context.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ var (
213213

214214
func (c *context) writeContentType(value string) {
215215
header := c.Response().Header()
216-
if header.Get(HeaderContentType) != "" {
216+
if header.Get(HeaderContentType) == "" {
217217
header.Set(HeaderContentType, value)
218218
}
219219
}

0 commit comments

Comments
 (0)