Skip to content

Commit

Permalink
little update
Browse files Browse the repository at this point in the history
  • Loading branch information
algonacci committed Feb 25, 2024
1 parent 1d0fc89 commit f1d0379
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion index.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@


@bp.route("/")
@limiter.limit("10 per day")
@limiter.limit("5 per day")
@cache.cached(timeout=60)
def index():
return jsonify({
Expand Down
1 change: 0 additions & 1 deletion rate_limiter.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from flask import jsonify
from flask_limiter import Limiter
from flask_limiter.util import get_remote_address

Expand Down

0 comments on commit f1d0379

Please sign in to comment.