Skip to content

Commit

Permalink
Allow cross origin dirty
Browse files Browse the repository at this point in the history
  • Loading branch information
svaroqui committed Sep 25, 2024
1 parent a065904 commit 66db996
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ func (repman *ReplicationManager) rootHandler(w http.ResponseWriter, r *http.Req
if err != nil {
log.Printf("rootHandler read error : %s", err)
}
w.Header().Set("Access-Control-Allow-Origin", "*")
w.Write(html)
}

Expand Down

0 comments on commit 66db996

Please sign in to comment.