diff --git a/web/index.html b/web/index.html index b2caf95..06eef9e 100644 --- a/web/index.html +++ b/web/index.html @@ -178,7 +178,7 @@
- irm xetup.x9.cz/get.ps1 | iex + curl -Lo xetup.exe xetup.x9.cz/dl
diff --git a/web/nginx.conf b/web/nginx.conf index 5553b78..0d173bc 100644 --- a/web/nginx.conf +++ b/web/nginx.conf @@ -14,6 +14,11 @@ server { add_header X-Content-Type-Options nosniff always; } + # Permanent shortlink to latest xetup.exe – update on each release + location = /dl { + return 302 https://git.xetup.x9.cz/x9/xetup/releases/download/v0.1.0/xetup.exe; + } + # Proxy Forgejo API calls so browser doesn't need CORS or direct access to Forgejo location /forgejo-api/ { proxy_pass http://xetup-forgejo:3000/api/v1/;