Skip to content

Commit 1c0c101

Browse files
committed
step 4 done.
1 parent 9494a32 commit 1c0c101

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

page_analyzer/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ def index():
4747
def urls():
4848
conn = get_db_connection()
4949
cur = conn.cursor()
50-
5150
# Получение всех URL и последней проверки для каждого URL
51+
cur.execute('SELECT * FROM urls ORDER BY created_at DESC')
5252
cur.execute('''
5353
SELECT u.id, u.name, u.created_at,
5454
uc.status_code, uc.created_at AS last_check

0 commit comments

Comments
 (0)