Update app.py
This commit is contained in:
2
app.py
2
app.py
@@ -303,7 +303,7 @@ def add_recent_link(url, target_ip):
|
|||||||
|
|
||||||
|
|
||||||
def get_recent_links():
|
def get_recent_links():
|
||||||
links = redis_client.lrange("recent_links", 0, 9)
|
links = redis_client.lrange("recent_links", 0, 99)
|
||||||
out = []
|
out = []
|
||||||
for link in links:
|
for link in links:
|
||||||
parts = link.decode().split("|")
|
parts = link.decode().split("|")
|
||||||
|
Reference in New Issue
Block a user