from flask import Flask, render_template, request, session, abort, send_from_directory
app = Flask(__name__, static_url_path='')


@app.route("/")
def hello():
    return render_template(
        'index.html')


@app.route("/static/<path:path>")
def serve_static(path):
    return send_from_directory('static', path)


if __name__ == "__main__":
    app.run()

from flask import Flask, render_template, request, session, abort, send_from_directory
app = Flask(__name__, static_url_path='')


@app.route("/")
def hello():
    return render_template(
        'index.html')


@app.route("/static/<path:path>")
def serve_static(path):
    return send_from_directory('static', path)


if __name__ == "__main__":
    app.run()
