fix(auth): redirect to appUrl after invite callback
origin lacks /ims basePath; use NEXT_PUBLIC_APP_URL instead. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BzvzV91UqHZKM9P58qtvrA
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
VPS="root@64.176.82.100"
|
||||
REMOTE_DIR="/var/www/ims"
|
||||
PORT=3003
|
||||
|
||||
echo "==> Building..."
|
||||
npm run build
|
||||
|
||||
echo "==> Copying static assets into standalone..."
|
||||
cp -r .next/static .next/standalone/.next/static
|
||||
cp -r public .next/standalone/public
|
||||
|
||||
echo "==> Syncing to VPS..."
|
||||
rsync -az --delete --exclude='.env' .next/standalone/ "$VPS:$REMOTE_DIR/"
|
||||
|
||||
echo "==> Restarting service on VPS..."
|
||||
ssh "$VPS" "systemctl restart ims"
|
||||
|
||||
echo "==> Done. http://64.176.82.100/ims/"
|
||||
Reference in New Issue
Block a user