Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Commit 866e6eb

Browse files
committed
fixup! feat: style login redirect page - [ch1400]
1 parent 0743936 commit 866e6eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/loginsrv/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ func (srv *Server) ServeHTTP(w http.ResponseWriter, req *http.Request) {
171171
</div>
172172
</body>
173173
</html>`
174-
w.Header().Set("Content-Type","text/html");
174+
w.Header().Set("Content-Type", "text/html")
175175
w.WriteHeader(http.StatusOK)
176176
_, _ = fmt.Fprint(w, htmlDoc) // Best effort.
177177
}

0 commit comments

Comments
 (0)