aboutsummaryrefslogtreecommitdiff
path: root/serve.py
blob: fcd1cdc0e0e07936bcbc574fa940be9fd58f5efb (plain)
1
2
3
4
5
6
7
8
9
10
from flask import Flask, send_from_directory

app = Flask(__name__)

@app.route('/freqtimer/<path:filename>')
def serve_file(filename):
    return send_from_directory('dist', filename)

if __name__ == '__main__':
    app.run('0.0.0.0')