From 14343865db323804feaef6fb49b6230d2d0aac05 Mon Sep 17 00:00:00 2001 From: Christian Cleberg Date: Thu, 1 Jun 2023 10:48:03 -0500 Subject: fix: incorrect canonical URL for homepage --- index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'index.php') diff --git a/index.php b/index.php index c45312d..c1b628a 100644 --- a/index.php +++ b/index.php @@ -10,7 +10,7 @@ if (empty($elements[0])) { 'Top' ); echo_html( - $GLOBALS['full_domain'] . '/top/', + $GLOBALS['full_domain'], 'The top stories from Hacker News, proxied by hn.', 'hn', $html_output @@ -23,7 +23,7 @@ if (empty($elements[0])) { 'Top' ); echo_html( - $GLOBALS['full_domain'] . '/top/', + $GLOBALS['full_domain'], 'The top stories from Hacker News, proxied by hn.', 'hn', $html_output -- cgit v1.2.3-70-g09d2