Bootstrap Flask upload platform
This commit is contained in:
+15
@@ -0,0 +1,15 @@
|
||||
from flask import Flask, render_template
|
||||
|
||||
|
||||
VERSION = "0.1.0"
|
||||
|
||||
app = Flask(__name__, template_folder="templates", static_folder="static")
|
||||
|
||||
|
||||
@app.route("/")
|
||||
def index():
|
||||
return render_template("index.html", version=VERSION)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
app.run(debug=True, host="0.0.0.0", port=5000)
|
||||
Reference in New Issue
Block a user