chore: apply linting
This commit is contained in:
parent
3d302441b6
commit
2c448d4a5c
7 changed files with 24 additions and 13 deletions
|
@ -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"+
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue