Matthew StarkeyPro Student 3,157 Points
Downloaded course files and seeing 404 error.
I have downloaded the flask course files for stage 3 start(bear builder). I have added the app.py file and coded the basic route for the index.html file. However when I run the file I get 404 error with method not allowed.
from flask import Flask from flask import render_template app = Flask(__name__) app.route('/') def index(): return render_template('index.html') if __name__ == '__main__': app.run(debug=True, port=8000, host='localhost')