mirror of
https://github.com/aljazceru/njump.git
synced 2025-12-17 22:34:25 +01:00
fix content-type for profile page: it's html.
This commit is contained in:
@@ -58,7 +58,7 @@ func renderProfile(w http.ResponseWriter, r *http.Request, code string) {
|
||||
LastNotes: data.renderableLastNotes,
|
||||
})
|
||||
} else {
|
||||
w.Header().Add("content-type", "text/xml")
|
||||
w.Header().Add("content-type", "text/html")
|
||||
err = ProfileTemplate.Render(w, &ProfilePage{
|
||||
HeadCommonPartial: HeadCommonPartial{IsProfile: true, TailwindDebugStuff: tailwindDebugStuff},
|
||||
DetailsPartial: DetailsPartial{
|
||||
|
||||
Reference in New Issue
Block a user