Commit d61c8b63 authored by Imam M. Jah's avatar Imam M. Jah

linked to html doc

parent 06a465d4
......@@ -43,7 +43,7 @@ def homepage():
beverages = fetch_products(token, 'beverages', limit=5)
# Pass all products to the template
return render_template('homepage.html', fruits=fruits, vegetables=vegetables, beverages=beverages)
return render_template('index.html', fruits=fruits, vegetables=vegetables, beverages=beverages)
if __name__ == '__main__':
app.run(debug=True)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment