Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
petaki committed Oct 10, 2021
2 parents 2836c56 + 075818c commit 25c8f3d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions inertia.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,8 @@ func (i *Inertia) Render(w http.ResponseWriter, r *http.Request, component strin
return err
}

w.Header().Set("Content-Type", "text/html")

err = ts.Execute(w, viewData)
if err != nil {
return err
Expand Down

0 comments on commit 25c8f3d

Please sign in to comment.