Mise à jour de 'flask_base/app.py'

This commit is contained in:
serguei
2025-12-05 01:39:32 +00:00
parent 0a95a72cbb
commit 25fe475cfb

View File

@@ -42,6 +42,12 @@ def show_questions():
questions = json.load(file)
return render_template('quiz.html', questions=questions)
@app.route('/softwares_data')
def show_questions():
with open('./data/softwares.json', 'r') as file:
softwares = json.load(file)
return render_template('pokemon.html', data=softwares)
if __name__ == '__main__':
app.run(debug=True, port=8080)