diff options
| author | Jan Friedli | 2020-08-21 12:00:39 +0200 |
|---|---|---|
| committer | jfriedli | 2020-09-06 08:29:17 -0700 |
| commit | a768cf322726a3cbb56c5eda8958402dd34b012f (patch) | |
| tree | da9130a5f9aff548979421b7490b50aa999831d5 /main.py | |
| parent | e8bd56b5b4c596404e8d41e85f1029161ea4a63e (diff) | |
added basic logging
Diffstat (limited to 'main.py')
| -rw-r--r-- | main.py | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -57,7 +57,7 @@ def create_app(test_config=None): | |||
| 57 | Swagger(app, template=template, config=swagger_config) | 57 | Swagger(app, template=template, config=swagger_config) |
| 58 | 58 | ||
| 59 | CORS(app, resources={r"/api/*": {"origins": utils.get_allow_origin_header_value()}}) | 59 | CORS(app, resources={r"/api/*": {"origins": utils.get_allow_origin_header_value()}}) |
| 60 | 60 | app.logger.info('Matweb started') | |
| 61 | return app | 61 | return app |
| 62 | 62 | ||
| 63 | 63 | ||
