fixed code quality issues

This commit is contained in:
cis-kuldeep 2021-05-19 19:27:06 +05:30
parent 40a18f5fd9
commit cc253503b4

View File

@ -2,9 +2,11 @@ from flask import Flask, send_from_directory
app = Flask(__name__) app = Flask(__name__)
@app.route("/repo/<path:path>") @app.route("/repo/<path:path>")
def static_dir(path): def static_dir(path):
return send_from_directory("repo", path) return send_from_directory("repo", path)
if __name__ == "__main__": if __name__ == "__main__":
app.run(host="0.0.0.0", port=5000, debug=True) app.run(host="0.0.0.0", port=5000, debug=True)