mirror of
https://github.com/kennethreitz/replit-py.git
synced 2026-06-05 23:10:18 +00:00
Fix typo in ratelimit example
This commit is contained in:
@@ -4,7 +4,7 @@ app = maqpy.App(__name__)
|
||||
|
||||
|
||||
@app.route("/")
|
||||
@maqpy.authed_ratelimited(
|
||||
@maqpy.authed_ratelimit(
|
||||
limit=1, # Number of requests allowed
|
||||
period=1, # Amount of time before counter resets
|
||||
login_res=maqpy.Page(body=f"Sign in\n{maqpy.sign_in_snippet}"),
|
||||
|
||||
Reference in New Issue
Block a user