Flask React路由404问题 Posted on 2019-07-11 Edited on 2020-01-10 1234@app.route('/', defaults={'path': ''})@app.route('/<path:path>')def index(path): return render_template('index.html')