11 lines
247 B
Python
11 lines
247 B
Python
from flask import Flask, send_from_directory
|
|
|
|
app = Flask(__name__)
|
|
|
|
@app.route("/repo/<path:path>")
|
|
def static_dir(path):
|
|
return send_from_directory("repo", path)
|
|
|
|
if __name__ == "__main__":
|
|
app.run(host="0.0.0.0", port=5000, debug=True)
|