Add support for external config file
In order to allow configuration of mat2-web without having to alter the source (main.py
), optional support for an external config file should be added. With flask it's as easy as this (after defining the defaults in main.py
):
app.config.from_object('config')