diff --git a/app.py b/app.py index b03dd88..c415770 100644 --- a/app.py +++ b/app.py @@ -19,7 +19,7 @@ def hello(): @app.route('/hello/') def hello_2(name): - return render_template('hello.html', name=name) + return render_template('index.html', name=name) if __name__ == '__main__': diff --git a/templates/hello.html b/templates/hello.html deleted file mode 100644 index 7cdb4f1..0000000 --- a/templates/hello.html +++ /dev/null @@ -1,15 +0,0 @@ - - - - - Hello from flask - - - {% if name %} -

hello {{ name }}!

- {% else %} -

Hello World!

- {% endif %} - - - \ No newline at end of file