Browse Source

added wsgi, and gunicorn

bscheibel 4 years ago
parent
commit
542a5a7fc2
2 changed files with 4 additions and 2 deletions
  1. 0 2
      app/__init__.py
  2. 4 0
      wsgi.py

+ 0 - 2
app/__init__.py

@@ -1,9 +1,7 @@
 from flask import Flask
-from flask_cors import CORS
 
 app = Flask(__name__)
 app.debug = True
 app.config['SEND_FILE_MAX_AGE_DEFAULT'] = 0
-CORS(app)
 
 from app import views

+ 4 - 0
wsgi.py

@@ -0,0 +1,4 @@
+from app import app
+
+if __name__ == "__main__":
+    app.run()