Skip to content

Commit

Permalink
Add wsgi.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ajkyffin committed Feb 16, 2021
1 parent 6b8e1e9 commit 8afe25a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,7 @@ illustrated below:
├── README.md
├── datagateway_api
│ ├── config.json.example
│ ├── wsgi.py
│ ├── common
│ │ ├── backend.py
│ │ ├── backends.py
Expand Down
6 changes: 6 additions & 0 deletions datagateway_api/wsgi.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import logging
import sys

logging.basicConfig(stream=sys.stderr)

from datagateway_api.src.main import app as application

0 comments on commit 8afe25a

Please sign in to comment.