Skip to content

Commit 014e871

Browse files
committed
[add] binding api to 0.0.0.0 by default
1 parent 995cfb1 commit 014e871

File tree

1 file changed

+1
-4
lines changed
  • utilities/redis_benchmarks_specification

1 file changed

+1
-4
lines changed

utilities/redis_benchmarks_specification/api.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,6 @@ class CommitSchema(Schema):
7373
git_hash = fields.String(required=True)
7474

7575

76-
app = Flask(__name__)
77-
78-
7976
@app.route("/api/gh/redis/redis/commits", methods=["POST"])
8077
@auth.login_required
8178
def base():
@@ -148,7 +145,7 @@ def main():
148145
password=GH_REDIS_SERVER_AUTH,
149146
)
150147

151-
app.run()
148+
app.run(host="0.0.0.0")
152149

153150

154151
if __name__ == "__main__":

0 commit comments

Comments
 (0)