All of my .html
files are present in templates folder.
I'm getting a 404 error on one particular file called tour.html
I have defined its route as:
@app.route('/tour1.html')
def tour1():
return render_template('tour1.html')
Full Error is
"GET tour1.html HTTP/1.1" 404
Additionally, the linking works fine when I run on VS Code Live Server, so no issue in html
files.
Aucun commentaire:
Enregistrer un commentaire