Skip to content

Commit

Permalink
word
Browse files Browse the repository at this point in the history
  • Loading branch information
tanfarming committed Feb 9, 2024
1 parent c04509b commit c966c85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ita/internal/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ var Restore = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
})

var RewriteAssets = http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
err := ret_rewrite_assets(r.Header.Get("old_domain"), r.Header.Get("new_domain"))
err := ret_rewrite_assets(r.URL.Query().Get("old_domain"), r.URL.Query().Get("new_domain"))
if err != nil {
http.Error(w, "failed", http.StatusInternalServerError)
return
Expand Down

0 comments on commit c966c85

Please sign in to comment.