|
|
@ -15,6 +15,15 @@ app.secret_key = 'PiracyIsCool'
|
|
|
|
|
|
|
|
|
|
|
|
now = datetime.datetime.now()
|
|
|
|
now = datetime.datetime.now()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@app.route('/test', methods=['GET'])
|
|
|
|
|
|
|
|
def test():
|
|
|
|
|
|
|
|
index = url_for('index')
|
|
|
|
|
|
|
|
about = url_for('about')
|
|
|
|
|
|
|
|
links = f"<a href='{index}'>index</a><br/><a href='{about}'>about</a>"
|
|
|
|
|
|
|
|
return links
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@app.route('/', methods=['GET'])
|
|
|
|
@app.route('/', methods=['GET'])
|
|
|
|
def index():
|
|
|
|
def index():
|
|
|
|
return render_template("public/index.html")
|
|
|
|
return render_template("public/index.html")
|
|
|
|