Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Aug 30, 2024. It is now read-only.
/coder-v1-cliPublic archive

Commitbc22c70

Browse files
committed
fixup! feat: style login redirect page - [ch1400]
1 parent0743936 commitbc22c70

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

‎internal/loginsrv/server-fmt.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
internal/loginsrv/server.go

‎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)

[8]ページ先頭

©2009-2025 Movatter.jp