mirror of
https://github.com/PhoenixTwoFive/karaoqueue.git
synced 2025-05-19 02:51:48 +02:00
Refactor for heroku...
This commit is contained in:
parent
f421423636
commit
589e50120b
@ -6,7 +6,7 @@ import os
|
|||||||
import json
|
import json
|
||||||
from flask_basicauth import BasicAuth
|
from flask_basicauth import BasicAuth
|
||||||
from helpers import nocache
|
from helpers import nocache
|
||||||
app = Flask("backend", static_url_path='/static')
|
app = Flask(__name__, static_url_path='/static')
|
||||||
|
|
||||||
basic_auth = BasicAuth(app)
|
basic_auth = BasicAuth(app)
|
||||||
accept_entries = False
|
accept_entries = False
|
4
backend/wsgi.py
Normal file
4
backend/wsgi.py
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
from app import app
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
app.run()
|
Loading…
x
Reference in New Issue
Block a user