flask运行html404

from flask import Flask
from flask import render_template
from flask_bootstrap import Bootstrap
import psycopg2
app = Flask(__name__)
bootstrap = Bootstrap(app)

@app.route('/')
def index():

    return render_template('index.html')
if __name__ == '__main__':
    app.run(host='localhost', port=8080, debug=True)
  Use a production WSGI server instead.
 * Debug mode: on
 * Running on http://localhost:8080/ (Press CTRL+C to quit)
 * Restarting with inotify reloader
 * Debugger is active!
 * Debugger PIN: 122-626-145
127.0.0.1 - - [25/Dec/2021 13:32:34] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [25/Dec/2021 13:32:35] "GET /pages/index.html HTTP/1.1" 404 -
127.0.0.1 - - [25/Dec/2021 13:32:35] "GET /favicon.ico HTTP/1.1" 404 -

网址为404

那你的网页显示的是啥 NOT FOUND?