Commit 4c55958c authored by Fence's avatar Fence 🌈

add wsgi

parent facb197d
from minor import App
app = App()
application = app.get_application()
\ No newline at end of file
from flask import Flask
from flask_mongoengine import MongoEngine
from minor.controller import ApiController, MusicController
......@@ -19,3 +18,6 @@ class App(object):
def check_key(self, key):
return key == "sekrit1234"
def get_application(self):
return self._flask
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment