expanded package modularity
This commit is contained in:
BIN
core/__pycache__/app.cpython-310.pyc
Normal file
BIN
core/__pycache__/app.cpython-310.pyc
Normal file
Binary file not shown.
17
core/app.py
Normal file
17
core/app.py
Normal file
@@ -0,0 +1,17 @@
|
||||
from flask import Flask, render_template, Response
|
||||
|
||||
app = Flask(__name__, template_folder="../ui/templates/")
|
||||
app.config["SECRET_KEY"] = "j9573-4952-9029-1034"
|
||||
|
||||
@app.route('/')
|
||||
def index():
|
||||
"""
|
||||
Home page of the platform
|
||||
|
||||
Contains a list of some of the streams that are currently live and the most popular categories.
|
||||
"""
|
||||
|
||||
return render_template('index.html')
|
||||
|
||||
if __name__ == '__main__':
|
||||
app.run(debug=True)
|
||||
@@ -1,2 +0,0 @@
|
||||
FLASK_APP=app.py
|
||||
FLASK_DEBUG=True
|
||||
Reference in New Issue
Block a user