chore: update .npmrc to set npm registry and remove vercel.json configuration
This commit is contained in:
@@ -1,2 +1 @@
|
|||||||
engine-strict=true
|
npm_config_registry=https://registry.npmjs.org
|
||||||
resolution-mode=highest
|
|
||||||
|
|||||||
@@ -1,6 +0,0 @@
|
|||||||
{
|
|
||||||
"rewrites": [
|
|
||||||
{"source": "/", "destination": "https://classroomio-com.vercel.app/"},
|
|
||||||
{"source": "/:match*", "destination": "https://classroomio-com.vercel.app/:match*"}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
+11
-10
@@ -21,15 +21,16 @@ 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*': {
|
// },
|
||||||
proxy: 'https://classroomio-com.vercel.app/:match*'
|
// '/:match*': {
|
||||||
}
|
// proxy: 'https://classroomio-com.vercel.app/:match*'
|
||||||
}
|
// }
|
||||||
})
|
// }
|
||||||
|
// }
|
||||||
]
|
]
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user