so many moves
This commit is contained in:
parent
4d3c707301
commit
66b4ce33bf
18 changed files with 5 additions and 1 deletions
|
|
@ -1,5 +1,5 @@
|
|||
from flask import Flask
|
||||
from flask import request
|
||||
from flask import request,render_template
|
||||
from flask_cors import CORS
|
||||
from flask_socketio import SocketIO
|
||||
import sqlite3 as sql
|
||||
|
|
@ -143,6 +143,10 @@ def playQueuedSongs():
|
|||
def handleConnect():
|
||||
pass
|
||||
|
||||
@app.route("/",methods=['GET'])
|
||||
def returnStaticFile():
|
||||
return render_template("index.html")
|
||||
|
||||
@app.route("/controls", methods=['POST'])
|
||||
def playerControls():
|
||||
# recieve control inputs (play/pause and skip) from the webUI
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue