For some reason, 127.0.0.1:5000(port 5000) is stuck displaying my old un-updated file.
from flask import Flask
app = Flask(__name__)
@app.route("/")
def index():
return "Home page"
@app.route("/about")
def about():
return "About page"
if __name__ == "__main__":
app.run()
I changed the port and it worked fine. But, why is 5000 not updating when I change and run my code? I checked to see if multiple process were running, but none were.
Honestly, this is a noob question, but I can't seem to find anyone else who's had this problem.