I have an error that I can\'t figure out. If I move one method to another file to split up the flask routes CORS will stop working even though I import everything from the other