Skip to content
Source
Sign inSign up
TanStack/router

docs: Fix cloudflare config #5225

Mergedmattfysh-ai(GitHub profile, opens in a new tab)merged 2 commits intomain fromrefs/pull/5225/headmerged by schiller-manuel(GitHub profile, opens in a new tab)

Showing 1 changed file with 1 addition and 1 deletion.

x
0 of 1 viewed, 1 left
1 addition and 1 deletiondocs/start/framework/react/hosting.mdModified
View file
@@ -53,7 +53,7 @@
import viteReact from '@vitejs/plugin-react'
​
export default defineConfig({
- plugins: [tanstackStart(), cloudflare(), viteReact()],
+ plugins: [cloudflare({ viteEnvironment: { name: 'ssr' }}), tanstackStart(), viteReact()],
})
```
​