so I did this and it works perfectly offline but online keeps giving 404.
Now the issue is the file upload because online I debugged by removing the file upload input