This commit is contained in:
Yûki VACHOT 2021-10-18 09:13:17 +02:00
parent 82f1bc477f
commit 221bc6c5ff
3 changed files with 20 additions and 3 deletions

6
app.py
View file

@ -1,7 +1,7 @@
import os
import sys
from flask import Flask, request
from flask import Flask, request, render_template
from contextlib import closing
from urllib.request import urlopen
import json
@ -23,8 +23,8 @@ def config(): # put application's code here
@app.route('/')
def hello_world(): # put application's code here
return 'Hello World!'
def index():
return render_template('index.html')
# Recherche d'une ville