#AI SAAS Platform
29 messages · Page 1 of 1 (latest)
It is working fine in the localhost tho
export default authMiddleware({
publicRoutes: ['/', '/api/webhooks/clerk', '/api/webhooks/stripe']
});
export const config = {
matcher: ["/((?!.+.[w]+$|_next).*)", "/", "/(api|trpc)(.*)"],
};```
my middleware code
user clerk version ^4.29.6
I'm using 4.29.6
Maybe you are already signed in?
Sign out ig
I have finished this project yesterday so yeah
I tried signing out
Did you test the changes in prod before completing of whole project
Yeah i did
It didn't have any errors
Except i couldn't _id as key
So i had to use publicId
Also iydm can you share your github repo
Wait
Hey great work btw
I tried your app and it crashes when I clicked on buy now button of credits
Oh that's coz indian users have to wait for stripe
Waiting period can't do anything about that
Or maybe its for everyone idk
Oooh,how much time ?
I dont really know i gave them my bank details yesterday and all required stuff
It needs to be approved from stripe
Ah ok
Btw you can clone js mastery's repo and prolly use it as a reference while doing your project 🤔 if you keep running in errors