Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,8 @@ LEARNING_COMMONS_API_KEY=
# or set SOCRATINK_LOCAL_AUTH_BYPASS=0, for prod parity locally.
SOCRATINK_LOCAL_AUTH_BYPASS=
SOCRATINK_DEV_AUTOGUEST=
# Source-less loop (Railway loop-server). Required for /loop drawer link and
# proxied /health + /api/session/* routes. Set on Vercel production before
# removing any legacy Vercel edge rewrites for those paths.
# Example: https://loop-production-07a3.up.railway.app
LOOP_BACKEND_URL=
22 changes: 1 addition & 21 deletions vercel.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,29 +8,9 @@
}
},
"rewrites": [
{
"source": "/loop",
"destination": "https://loop-production-07a3.up.railway.app/loop"
},
{
"source": "/loop/:path*",
"destination": "https://loop-production-07a3.up.railway.app/loop/:path*"
},
{
"source": "/health",
"destination": "https://loop-production-07a3.up.railway.app/health"
},
{
"source": "/api/session",
"destination": "https://loop-production-07a3.up.railway.app/api/session"
},
{
"source": "/api/session/:path*",
"destination": "https://loop-production-07a3.up.railway.app/api/session/:path*"
},
{
"source": "/(.*)",
"destination": "/api/index.py"
}
]
}
}
Loading