So I recently refactored my Flask application so that everything is not in one giant app.py file: models, routes, config, etc. After doing this it runs fine locally, but when I push everything to GitHub, Vercel tries to build the serverless function from my most recent push and the build succeeds but I get an Internal Server Error when I go to my url. I'm unsure if the issue is with my vercel.json file calling the wrong src/dest or if a package I'm using is not supported by Vercel (though I'm using the same Python version that Vercel uses so that shouldn't be a problem).
The source code is in my GitHub (https://github.com/adam-bartholomew/encode-message).
Has anyone seen a problem like this and know where I can begin debugging?
Images:
I tried changing my vercel.json file a few times based on what Vercel has on it's website but that didn't correct the issue, it actually caused the build to fail.