mirror of
https://github.com/juanfont/headscale.git
synced 2026-10-30 18:24:06 +09:00
chore: apply linting
This commit is contained in:
7 files changed
+24
-13
No files matched your search
+1
-1
@@ -128,7 +128,7 @@ func (h *Headscale) DERPHandler(ctx *gin.Context) {
|
||||
|
||||
if !fastStart {
|
||||
pubKey := h.privateKey.Public()
|
||||
pubKeyStr := pubKey.UntypedHexString() // nolint
|
||||
pubKeyStr := pubKey.UntypedHexString()
|
||||
fmt.Fprintf(conn, "HTTP/1.1 101 Switching Protocols\r\n"+
|
||||
"Upgrade: DERP\r\n"+
|
||||
"Connection: Upgrade\r\n"+
|
||||
|
||||
Reference in new issue
Block a user