Skip to content

Commit

Permalink
word
Browse files Browse the repository at this point in the history
  • Loading branch information
tanfarming committed Feb 8, 2024
1 parent 28f8487 commit 2c34bbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ita/internal/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ func getRetCcu() (int, error) {
}

func ret_rewrite_assets(oldDomain, newDomain string) error {
retCcuReq, _ := http.NewRequest("GET", "https://ret."+cfg.PodNS+":4000/api-internal/v1/rewrite_assets",
retCcuReq, _ := http.NewRequest("POST", "https://ret."+cfg.PodNS+":4000/api-internal/v1/rewrite_assets",
bytes.NewBuffer([]byte(
`{"old_domain":"`+oldDomain+`","new_domain":"`+newDomain+`"}`)))
retCcuReq.Header.Add("x-ret-dashboard-access-key", cfg.RetApiKey)
Expand Down

0 comments on commit 2c34bbe

Please sign in to comment.