fix overwrite/double-generation, fix /v3 redirect
authorShane Jaroch <chown_tee@proton.me>
Thu, 22 Jan 2026 20:03:54 +0000 (15:03 -0500)
committerShane Jaroch <chown_tee@proton.me>
Thu, 22 Jan 2026 20:03:54 +0000 (15:03 -0500)
etc/nginx/conf.d/dev/git-http.conf
scripts/deploy.sh

index c59f8b05463d4307b7db0d1a7ec776190b70c3e3..c9cf7ff87010cd0b9c3a3dbb60c8cc4b591d8990 100644 (file)
@@ -98,9 +98,9 @@ server {
     }
 
     # ----------------------------------------------------------------------
-    # /v3/ redirect -> root
+    # /v3 redirect -> root
     # ----------------------------------------------------------------------
-    location = /v3/ {
+    location = /v3 {
         return 302 /;
     }
 
index 87090a58fc16a99d6a49c3effa1fe541421d6ac3..2f2f72c52bfa1bbec95e9fb3d450e1f308688be0 100755 (executable)
@@ -191,11 +191,7 @@ if sudo nginx -t; then
         sudo chown -R www-data:www-data /srv/git/
     fi
 
-    # Generate Homepage (always, as a failsafe)
-    echo "Generating services map..."
-    python3 "$REPO_ROOT/scripts/gen_services_map.py"
-
-    # Deploy Homepage
+    # Deploy Homepage (already generated during local staging)
     if [ -f "$REPO_ROOT/scripts/homepage.html" ]; then
         echo "Deploying Homepage..."
         sudo mkdir -p /var/www