chore: update .npmrc to set npm registry and remove vercel.json configuration

This commit is contained in:
Rotimi Best
2025-12-21 19:26:07 +00:00
parent 477ace9e2c
commit bcb8a4b295
3 changed files with 12 additions and 18 deletions
+1 -2
View File
@@ -1,2 +1 @@
engine-strict=true
resolution-mode=highest
npm_config_registry=https://registry.npmjs.org
-6
View File
@@ -1,6 +0,0 @@
{
"rewrites": [
{"source": "/", "destination": "https://classroomio-com.vercel.app/"},
{"source": "/:match*", "destination": "https://classroomio-com.vercel.app/:match*"}
]
}
+11 -10
View File
@@ -21,15 +21,16 @@ 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*'
// }
// }
// }
]
});