DEV Community

PatchAndShip
PatchAndShip

Posted on

Two common breaks in Lovable and Bolt apps (and when to hand them off)

Two problems come up a lot with apps built in Lovable, Bolt, Replit and Cursor, so we put up a page for each.

1. It works in preview, then breaks once it's live

Often it's a small setting, not your code:

  • Supabase Site URL is the default place people land after sign-in when your app doesn't pass a redirectTo. If it still points at the preview domain, that's where they go. Set it to your live domain.
  • Redirect URLs is the allow list. Add your live domain, like https://yourapp.com/**.
  • Google sign-in: your live domain goes under Authorized JavaScript origins, and the redirect URI is https://<project>.supabase.co/auth/v1/callback.
  • Blank page or "supabaseUrl is required": with Vite, only VITE_-prefixed vars reach the app, and they're baked in at build time. Add them on your host, then redeploy.

If you've checked those and it's still stuck, App Rescue is $149 for one issue. Send us your app and what's broken: App Rescue

2. Moving off Lovable Cloud to your own Supabase

Lovable can export your database, including your users' accounts. Files, secrets, sign-in settings and edge functions don't come with it, so those get set up again. You run the restore with your own database password; nobody helping you should need it. Don't remove Lovable Cloud until you've checked everything, since removing it deletes its database, backups, users and files.

We do the move at a fixed price by size ($149, $349 or $599). What we move depends on the size: auth users on every size, storage files on Medium and Large, and edge functions on Large. Tell us about your app: Lovable Cloud to Supabase

Not affiliated with Lovable, Bolt, Replit, Cursor or Supabase.

Top comments (0)