Switch auth to bincio-auth JWT; fix login redirect to bincio.org

This commit is contained in:
Davide Scaini
2026-06-03 21:00:29 +02:00
parent 15a993ecc6
commit 3d09097eb3
4 changed files with 23 additions and 44 deletions
+2 -1
View File
@@ -10,7 +10,7 @@ VPS=root@95.216.55.151
# ── Frontend ──────────────────────────────────────────────────────────────────
echo "Building frontend…"
VITE_ACTIVITY_URL=https://activity.bincio.org VITE_PLANNER_API_URL= npm run build
VITE_ACTIVITY_URL=https://activity.bincio.org VITE_AUTH_URL=https://bincio.org VITE_PLANNER_API_URL= npm run build
echo "Deploying frontend…"
rsync -az --delete dist/ "$VPS:/var/www/planner/"
@@ -23,6 +23,7 @@ if [[ -z "$SERVER_DIR" ]]; then
exit 1
fi
rsync -az server/server.py server/pyproject.toml "$VPS:$SERVER_DIR/"
ssh "$VPS" "cd $SERVER_DIR && uv sync -q"
echo "Restarting bincio-planner.service…"
ssh "$VPS" "systemctl restart bincio-planner.service && systemctl is-active bincio-planner.service"