<?php
// Installed at /home/gb/apps/gb/updates/index.php - the Opalstack app gb-updates,
// which the grandjean.net site routes at /updates/ and which holds the installers.
//
// The software updates page itself lives in the website app at /updates (no slash).
// This sends the bare directory URL there, so there is one updates page instead of
// two. Every installer and version .txt in this folder is served exactly as before.
//
// gb-updates is Nginx/PHP-FPM, so it ignores .htaccess - hence PHP, not a rewrite.
// Source of truth: gb-inc/websiteRefresh server/gb-updates/index.php (GBI-1142).
// Rollback: delete this file and restore ~/backup/gb-updates-index.html as index.html.
header('Location: /updates', true, 301);
exit;
