netclock/worldclock/views.py
Armin Friedl 19c9e720e7
All checks were successful
continuous-integration/drone/push Build is passing
Prepare worldclock, no trailing / for blueprint roots
If specifying a blueprint with route "/", this will result
in flask redirecting to a request to `http://example.com/blueprint`
to `http://example.com/blueprint/`. This we don't want.
2020-09-14 21:13:25 +02:00

11 lines
237 B
Python

from flask import render_template, request, flash, redirect, url_for, session
from . import app
@app.route('', methods=['GET'])
def create_get():
return "Bye"
@app.route('', methods=['POST'])
def create_post():
return "Hello"