Skip to content
This repository was archived by the owner on May 24, 2023. It is now read-only.

Commit bc3217f

Browse files
authored
tab correction
1 parent 71164de commit bc3217f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

websocket.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,9 @@ func New(handler func(*Conn), config ...Config) fiber.Handler {
120120
})
121121

122122
// headers
123-
c.Context().Request.Header.VisitAll(func(key, value []byte) {
124-
conn.headers[string(key)] = string(value)
125-
})
123+
c.Context().Request.Header.VisitAll(func(key, value []byte) {
124+
conn.headers[string(key)] = string(value)
125+
})
126126

127127
if err := upgrader.Upgrade(c.Context(), func(fconn *websocket.Conn) {
128128
conn.Conn = fconn

0 commit comments

Comments
 (0)