We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 71137e9 commit 2c2085aCopy full SHA for 2c2085a
.github/workflows/docs-deploy.yml
@@ -12,8 +12,8 @@ on:
12
# Stable release tags
13
- v[0-9]+.[0-9]+.[0-9]+
14
paths:
15
- - 'docs/**'
16
- - 'mkdocs.yml'
+ - "docs/**"
+ - "mkdocs.yml"
17
workflow_dispatch:
18
19
jobs:
hscontrol/app.go
@@ -441,7 +441,7 @@ func (h *Headscale) ensureUnixSocketIsAbsent() error {
441
}
442
443
func (h *Headscale) corsHeadersMiddleware(next http.Handler) http.Handler {
444
- return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
+ return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
445
w.Header().Set("Access-Control-Allow-Origin", h.cfg.AccessControlAllowOrigins)
446
next.ServeHTTP(w, r)
447
})
0 commit comments