Commit da1847bc by Luciano Barletta

First commit

1 parent 7c590f07
#-*- coding: utf-8 -*- #-*- coding: utf-8 -*-
from flask import Flask, json, request from flask import Flask, json, request, url_for, render_template
import random import random
app = Flask(__name__) app = Flask(__name__)
...@@ -54,5 +54,9 @@ def login(): ...@@ -54,5 +54,9 @@ def login():
"token" : None "token" : None
}) })
@app.route('/', methods = ['GET'])
def main():
return render_template("generate.html")
if __name__ == "__main__": if __name__ == "__main__":
app.run("0.0.0.0") app.run("0.0.0.0")
\ No newline at end of file \ No newline at end of file
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!