From the hCaptcha documentation:
The hCaptcha API ... prohibits
localhostand127.0.0.1as supplied hostnames. The simplest way to circumvent these issues is to add a hosts entry. ... Place this in/etc/hostson Linux,/private/etc/hostson Mac OS X, orC:\Windows\System32\Drivers\etc\hostson Windows.
In order for cookies to work locally with a hostname other than localhost, we need an SSL connection. To
"[p]rovide certificates for vite's https dev service," use vite-plugin-mkcert.
Everything you need to build a Svelte project, powered by sv.
To create a production version of your app:
bun run buildYou can preview the production build with bun run preview.
To deploy your app, you may need to install an adapter for your target environment.