from flask import Flask, send_from_directory app = Flask(__name__) @app.route('/freqtimer/') def serve_file(filename): return send_from_directory('dist', filename) if __name__ == '__main__': app.run('0.0.0.0')