Hi everyone,
I’m currently building a project:
GitHub repo: GitHub - gentlemankz/bolt-hackathon-vibe-marketing-ide
Production: https://luframe.online
Live deployment: (screenshot attached below)
Everything works fine except the /api
folder.
For example, on the /dashboard
page, I’m integrating Meta login. It redirects the user to this URL:
https://luframe.online/api/auth/facebook/callback
But I immediately get a 404 error (localhost:3000 works fine). Initially, I deployed the app via Bolt.new using GitHub integration and did not have a netlify.toml
file. After reading some solutions on forums, I added the netlify.toml
file with the proper redirects, but the issue still persists.
( Runtime
Next.js
Base directory
/
Package directory
Not set
Build command
npm run build
Publish directory
.next
Functions directory
netlify/functions
Build status
Active)
Would really appreciate any help or guidance from the community. Let me know if more context is needed!
Thanks in advance