From 06ef3d4146d09c064e30c9fcb2cf5458264e8bc0 Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Fri, 15 Dec 2023 14:27:39 -0600 Subject: [PATCH] wsgi: Add basic WSGI module --- src/dcow/wsgi.py | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/dcow/wsgi.py diff --git a/src/dcow/wsgi.py b/src/dcow/wsgi.py new file mode 100644 index 0000000..83013b1 --- /dev/null +++ b/src/dcow/wsgi.py @@ -0,0 +1,7 @@ +import os + +import dcow.app + + +config = os.environ.get('DCOW_CONFIG', 'production.ini') +application = dcow.app.Application.create(config)