staging #4

Merged
bagas merged 5 commits from staging into main 2025-09-11 12:07:38 +00:00
3 changed files with 38 additions and 15 deletions
Showing only changes of commit 659b2b82ec - Show all commits

View File

@ -78,7 +78,7 @@ func NewHTTPServer() error {
if isAllowedAllCors {
return true
} else {
isAllowed, ok := allowedCors[r.Host]
isAllowed, ok := allowedCors[r.Header.Get("Origin")]
if !ok || !isAllowed {
return false
}