chore: update nitro configuration in vite.config.ts to use object syntax for proxy settings

This commit is contained in:
Rotimi Best
2025-12-21 20:47:13 +00:00
parent 3b0ed16a59
commit d410179a1f
+10 -11
View File
@@ -21,16 +21,15 @@ export default defineConfig({
react(), react(),
// see https://tanstack.com/start/latest/docs/framework/react/guide/hosting for hosting config // see https://tanstack.com/start/latest/docs/framework/react/guide/hosting for hosting config
// we configured nitro by default // we configured nitro by default
nitro() nitro({
// { routeRules: {
// routeRules: { '/': {
// '/': { proxy: 'https://classroomio-com.vercel.app/'
// proxy: 'https://classroomio-com.vercel.app/' },
// }, '/:match*': {
// '/:match*': { proxy: 'https://classroomio-com.vercel.app/:match*'
// proxy: 'https://classroomio-com.vercel.app/:match*' }
// } }
// } })
// }
] ]
}); });