df
This commit is contained in:
parent
dcf214e6eb
commit
15e6d53357
2 changed files with 4 additions and 4 deletions
|
@ -107,7 +107,7 @@ app.config["RATELIMIT_HEADERS_ENABLED"]=True
|
|||
limiter = Limiter(
|
||||
app,
|
||||
key_func=get_ipaddr,
|
||||
#default_limits=["100/minute"],
|
||||
default_limits=["100/minute"],
|
||||
headers_enabled=True,
|
||||
strategy="fixed-window"
|
||||
)
|
||||
|
|
|
@ -26,13 +26,13 @@ def marseyverse(v):
|
|||
|
||||
while count < 25:
|
||||
for site in [drama,pcm,gigachad,weebzone]:
|
||||
post = site[count]
|
||||
try: post = site[count]
|
||||
except: continue
|
||||
listing.append(Post(post))
|
||||
count += 1
|
||||
|
||||
return render_template("marseyverse.html", v=v, listing=listing)
|
||||
|
||||
|
||||
@app.get("/post/")
|
||||
def slash_post():
|
||||
return redirect("/")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue