Skip to content
Field notes

Built your site with Lovable or another AI builder? What to check before you launch

A five-page site made in Lovable looked finished, but it needed a server the host did not have, kept its images on the builder's CDN and had a form that sent nothing. What we checked and how we fixed it.

Office building at night with a single lit window

Short answer: AI builders like Lovable, Bolt and v0 can put a good-looking site on screen in an afternoon. What they leave open is everything after that: whether search engines receive real HTML, where the images actually live, whether the contact form sends anything, and which keys ended up in the browser. Check those four before you point your domain or spend on ads. In the case below, a site that looked finished needed a server the host didn’t have, kept its images on the builder’s CDN, and had a quote form that sent nothing.

What the owner had

A small insurance brokerage had a five-page site made in Lovable. In the builder preview it was ready: clear copy, good photos, a quote request form. They wanted it on their own domain, on the shared cPanel hosting they already paid for, and they wanted people to find it on Google.

They downloaded the code, uploaded it to the hosting and got a blank page.

What we found

  1. The export needed a server runtime. The project was built with TanStack Start and server-side rendering, packaged for a Node or Workers environment. Shared hosting serves files through Apache or LiteSpeed and runs PHP. There was nothing on that server able to execute the build.
  2. The images were missing from the code. Each picture in the project was a small JSON pointer to a path on the builder’s own CDN. The download had the pointers and none of the files. If the project were deleted or the plan cancelled, the site would lose every image.
  3. The quote form was decorative. It validated the fields and showed a thank-you message. No request ever left the browser. Nobody had noticed, because nobody had sent a test request and waited for it to arrive.

How to check your own AI-built site

  1. See what a crawler receives. Run curl -s https://yourdomain.com/ | grep -o '<h1[^>]*>[^<]*'. If nothing comes back and the HTML is mostly an empty <div id="root">, your content only exists after JavaScript runs in the browser.
  2. Find where the images come from. Open the browser’s developer tools, go to Network and filter by Img. Any image served from the builder’s domain is borrowed, and it can disappear.
  3. Send the form to yourself. Use a real address and confirm the request lands somewhere: an inbox, a spreadsheet, a CRM. A success message on screen proves nothing.
  4. Search the build for secrets. In the project folder: grep -rEo "service_role|sk_live_[A-Za-z0-9]{10,}" dist/. A Supabase anon key in front-end code is expected. A service role key or a live Stripe secret key is a leak.
  5. If the app uses Supabase, check Row Level Security. In the SQL editor: select tablename, rowsecurity from pg_tables where schemaname = 'public';. Every table showing false can be read by anyone holding the public key.

The fix in this case

The site had no logins and no dynamic data, so it didn’t need a server at all. We turned on static prerendering in the project’s vite.config.ts:

tanstackStart({
  prerender: {
    enabled: true,
    crawlLinks: true,
  },
})

The build now writes every route as a plain index.html with the full content inside. Then we downloaded each image from the builder’s CDN into the project’s public/ folder under the same path, so not a single line of markup had to change. A short .htaccess took care of HTTPS, clean URLs and long cache headers for assets.

The result is a folder of static files. It runs on the hosting they already had, search engines read the text without executing anything, it fits in a zip for backup, and it no longer depends on the builder staying online. We flagged the form before launch, so the owner could choose where requests should go before any visitor used it.

Checklist

  • View the raw HTML of your home page. The headline and main text should be in it.
  • Host every image yourself, inside the project.
  • Send a test request through every form and confirm it arrives.
  • Keep secret keys on a server, never in the front-end bundle.
  • Turn on Row Level Security, with policies, on every Supabase table.
  • Keep the code in a Git repository you own, outside the builder.
  • Write down how to rebuild and redeploy, so the next update isn’t guesswork.

Questions we get about this

Do I have to stop using the builder?

No. You can keep editing there. Each time you publish, repeat the same steps: prerender, bring in any new images and upload the files. Once it’s documented, that takes minutes.

Is a JavaScript-only site invisible to Google?

Not invisible. Google can render JavaScript, but it does so in a later pass that can take days, and many other crawlers and link previews in messaging apps read only the raw HTML. Prerendered pages remove that uncertainty.

Is the Supabase key in my front-end code a leak?

The anon key is designed to be public, and it is only safe when Row Level Security is on with a policy for every table. The service role key skips those rules entirely and must never reach the browser.

Something broken
on your site?

Tell us what you are seeing. You get a clear, written answer within one business day.

Brief us