chore: update nitro configuration in vite.config.ts to use object syntax for proxy settings
This commit is contained in:
+10
-11
@@ -21,16 +21,15 @@ export default defineConfig({
|
||||
react(),
|
||||
// see https://tanstack.com/start/latest/docs/framework/react/guide/hosting for hosting config
|
||||
// we configured nitro by default
|
||||
nitro()
|
||||
// {
|
||||
// routeRules: {
|
||||
// '/': {
|
||||
// proxy: 'https://classroomio-com.vercel.app/'
|
||||
// },
|
||||
// '/:match*': {
|
||||
// proxy: 'https://classroomio-com.vercel.app/:match*'
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
nitro({
|
||||
routeRules: {
|
||||
'/': {
|
||||
proxy: 'https://classroomio-com.vercel.app/'
|
||||
},
|
||||
'/:match*': {
|
||||
proxy: 'https://classroomio-com.vercel.app/:match*'
|
||||
}
|
||||
}
|
||||
})
|
||||
]
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user