You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(prod): cross-origin auth + lenient CORS env + CLI URL
Backend
- Settings.cors_origins now uses Annotated[..., NoDecode] + a field
validator so the CORS_ORIGINS env var accepts JSON, comma-separated,
or single-value forms instead of erroring with SettingsError.
- Add session_cookie_samesite setting; auth callback uses it instead
of the hardcoded "lax" so we can set "none" in cross-site prod
(dploy.ryantanen.com -> *.modal.run) while keeping "lax" locally.
- .env.example documents both new keys.
CLI
- Bundle config bakes in the stable modal deploy URL
(hackprinceton--dploy-backend-fastapi-app.modal.run) instead of the
ephemeral modal serve `-dev` URL that regenerates per session.
- Bump @ryantanen/dploy to 0.0.5; v0.0.5 tag triggers npm publish via
cli-release.yml.
Made-with: Cursor
0 commit comments