mirror of
https://git.vectorsigma.ru/public/AdGuardHome.git
synced 2026-08-05 02:19:12 +00:00
Add Access-Control-Allow-Origin: * header to postinstall wrapper
This commit is contained in:
@@ -164,6 +164,7 @@ func postInstall(handler func(http.ResponseWriter, *http.Request)) func(http.Res
|
||||
http.Redirect(w, r, newURL.String(), http.StatusTemporaryRedirect)
|
||||
return
|
||||
}
|
||||
w.Header().Set("Access-Control-Allow-Origin", "*")
|
||||
handler(w, r)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user