I have a project which needs to be run on swan-k8s in order to leverage the GPU acceleration provided. I wish to use the Open in SWAN badge on my repo to make it easier for others to use, but
https://cern.ch/swanserver/cgi-bin/go redirects to swan00x, and doesn’t use swan-k8s. Is there any way around this?
Yes, you can use something like this:
You can use
curl -i from your initial cgi-bin url and find your way to a url that has swan.cern.ch, which you can then replace with the swan-k8s subdomain.
Thats exactly what I was looking for, thanks!