akash-network / awesome-akash

Awesome List of Akash Deployment Examples
Apache License 2.0
308 stars 225 forks source link

A.I. - Follow StableDiffusion URL redirection #391

Closed fmorency closed 1 year ago

fmorency commented 1 year ago

The current call to curl fails with

{
  "message": "Moved Permanently",
  "url": "https://api.github.com/repositories/528152092/releases/latest",
  "documentation_url": "https://docs.github.com/v3/#http-redirects"
}

which impacts the rest of the deployment script.

This PR fixes this issue by passing the -L option to curl which allows curl to follow the redirection.

Edit: One will need to re-create the Docker image and modify the deployment file to reflect the change.

arno01 commented 1 year ago

@88plug ^^

andy108369 commented 1 year ago

This has already been corrected here