Skip to content

Commit 2c2085a

Browse files
committed
Headscale Fix formatting error witht [Prettier, golangci]
1 parent 71137e9 commit 2c2085a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/docs-deploy.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ on:
1212
# Stable release tags
1313
- v[0-9]+.[0-9]+.[0-9]+
1414
paths:
15-
- 'docs/**'
16-
- 'mkdocs.yml'
15+
- "docs/**"
16+
- "mkdocs.yml"
1717
workflow_dispatch:
1818

1919
jobs:

hscontrol/app.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ func (h *Headscale) ensureUnixSocketIsAbsent() error {
441441
}
442442

443443
func (h *Headscale) corsHeadersMiddleware(next http.Handler) http.Handler {
444-
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
444+
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
445445
w.Header().Set("Access-Control-Allow-Origin", h.cfg.AccessControlAllowOrigins)
446446
next.ServeHTTP(w, r)
447447
})

0 commit comments

Comments
 (0)