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