Skip to content

Commit

Permalink
Headscale Fix formatting error witht [Prettier, golangci]
Browse files Browse the repository at this point in the history
  • Loading branch information
Jisse-Meruma committed Dec 13, 2024
1 parent 71137e9 commit 2c2085a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docs-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ on:
# Stable release tags
- v[0-9]+.[0-9]+.[0-9]+
paths:
- 'docs/**'
- 'mkdocs.yml'
- "docs/**"
- "mkdocs.yml"
workflow_dispatch:

jobs:
Expand Down
2 changes: 1 addition & 1 deletion hscontrol/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ func (h *Headscale) ensureUnixSocketIsAbsent() error {
}

func (h *Headscale) corsHeadersMiddleware(next http.Handler) http.Handler {
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
w.Header().Set("Access-Control-Allow-Origin", h.cfg.AccessControlAllowOrigins)
next.ServeHTTP(w, r)
})
Expand Down

0 comments on commit 2c2085a

Please sign in to comment.