fixed code quality issues
This commit is contained in:
parent
40a18f5fd9
commit
cc253503b4
|
@ -2,9 +2,11 @@ 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)
|
||||
|
|
Reference in New Issue
Block a user