merge upstream

Signed-off-by: wozulong <>
This commit is contained in:
wozulong
2024-05-28 11:57:05 +08:00
parent cc020d6a40
commit 74392efbed
6 changed files with 87 additions and 5 deletions

View File

@@ -30,7 +30,7 @@ func RelayMidjourneyImage(c *gin.Context) {
})
return
}
resp, err := http.Get(midjourneyTask.ImageUrl)
resp, err := common.ProxiedHttpGet(midjourneyTask.ImageUrl, common.OutProxyUrl)
if err != nil {
c.JSON(http.StatusInternalServerError, gin.H{
"error": "http_get_image_failed",