Here is my code:
app = Flask(__name__)
app.config.from_object(_config.DevConfig)#Without this line, It works well.
Problem:When I use method from_object. The index page can't be found. But when I deleted it, It works very well.
I guess you shoud provide contents of _config.DevConfig object.
Have you solved?