Attempting to fix this with flask's built-in sendfile