repositories
loading repo index
repositories
loading repo index
repository
loading code, commits, and activity
Fastfood QR
stars
latest
clone command
git clone gitlawb://did:key:z6Mkfh4Y...QBEi/fastfood-qrgit clone gitlawb://did:key:z6Mkfh4Y.../fastfood-qr3042a875sync from playground20h ago| import react from "@vitejs/plugin-react"; |
| #3 |
| #4 | export default defineConfig({ |
| #5 | plugins: [react()], |
| #6 | envPrefix: 'APP_', |
| #7 | server: { |
| #8 | host: "0.0.0.0", |
| #9 | strictPort: true, |
| #10 | // Vite 6 blocks hosts not in this allowlist (CSRF protection). The |
| #11 | // playground serves previews via Fly's proxy at <app>.fly.dev with a |
| #12 | // routing header, so we allow .fly.dev plus the gitlawb published |
| #13 | // domain. Localhost stays allowed for local dev runs of the template. |
| #14 | allowedHosts: [ |
| #15 | "localhost", |
| #16 | "127.0.0.1", |
| #17 | ".fly.dev", |
| #18 | ".gitlawb.app", |
| #19 | ], |
| #20 | }, |
| #21 | }); |
| #22 |