forked from rDrama/rDrama
master
parent
6b3ba341b7
commit
686b592c86
|
@ -107,7 +107,7 @@ app.config["RATELIMIT_HEADERS_ENABLED"]=True
|
||||||
limiter = Limiter(
|
limiter = Limiter(
|
||||||
app,
|
app,
|
||||||
key_func=get_ipaddr,
|
key_func=get_ipaddr,
|
||||||
#default_limits=["100/minute"],
|
default_limits=["100/minute"],
|
||||||
headers_enabled=True,
|
headers_enabled=True,
|
||||||
strategy="fixed-window"
|
strategy="fixed-window"
|
||||||
)
|
)
|
||||||
|
|
|
@ -26,12 +26,12 @@ def marseyverse(v):
|
||||||
|
|
||||||
while count < 25:
|
while count < 25:
|
||||||
for site in [drama,pcm,gigachad,weebzone]:
|
for site in [drama,pcm,gigachad,weebzone]:
|
||||||
post = site[count]
|
try: post = site[count]
|
||||||
|
except: continue
|
||||||
listing.append(Post(post))
|
listing.append(Post(post))
|
||||||
count += 1
|
count += 1
|
||||||
|
|
||||||
return render_template("marseyverse.html", v=v, listing=listing)
|
|
||||||
|
|
||||||
|
return render_template("marseyverse.html", v=v, listing=listing)
|
||||||
|
|
||||||
@app.get("/post/")
|
@app.get("/post/")
|
||||||
def slash_post():
|
def slash_post():
|
||||||
|
|
Loading…
Reference in New Issue