Open aasimtaif opened 10 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
oju-blogs | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Oct 24, 2023 0:48am |
Right not I am facing cors issue even while logging in.
Right not I am facing cors issue even while logging in.
app.use(cors({ origin: 'https://oju-blogs.vercel.app', // Update with your frontend URL methods: 'GET,HEAD,PUT,PATCH,POST,DELETE', credentials: true, // Include if you need to handle cookies }));
i think this is due to i think you are trying on your local server
Right not I am facing cors issue even while logging in.
app.use(cors({ origin: 'https://oju-blogs.vercel.app', // Update with your frontend URL methods: 'GET,HEAD,PUT,PATCH,POST,DELETE', credentials: true, // Include if you need to handle cookies }));
i think this is due to i think you are trying on your local server
Nope with the pr preview only
Desktop-1698153576579.webm post request on http://localhost:5000/api/user/${type}
fixes #28 The core error was happening due to the default request limit I changed it to 1MB now as long as the request size is less than 1mb it will work fine You can increase the size if you want