mirror of
https://github.com/juanfont/headscale.git
synced 2025-11-14 11:52:51 +09:00
Fixed linting issues
This commit is contained in:
@@ -122,7 +122,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