dev channel: Apache serves /desktop/dev/latest.json; the VDS publisher lists releases without the draft filter (it hid the dev drafts)

This commit is contained in:
CRTkafa 2026-10-23 23:46:03 +08:00
parent 9947ea1639
commit 29a9683ab7
2 changed files with 3 additions and 2 deletions

View file

@ -6,6 +6,7 @@
Alias /desktop/latest.json /var/www/storebound-desktop/latest.json
Alias /desktop/beta/latest.json /var/www/storebound-desktop/beta/latest.json
Alias /desktop/rehearsal/latest.json /var/www/storebound-desktop/rehearsal/latest.json
Alias /desktop/dev/latest.json /var/www/storebound-desktop/dev/latest.json
Alias /desktop/dl/ /var/www/storebound-desktop/dl/
<Directory /var/www/storebound-desktop>
Options -Indexes -FollowSymLinks
@ -16,7 +17,7 @@ Alias /desktop/dl/ /var/www/storebound-desktop/dl/
Header set Content-Disposition "attachment"
</FilesMatch>
</Directory>
<LocationMatch "^/desktop/((beta|rehearsal)/)?latest\.json$">
<LocationMatch "^/desktop/((beta|rehearsal|dev)/)?latest\.json$">
Header set Cache-Control "no-cache"
Header set Access-Control-Allow-Origin "*"
</LocationMatch>