krz/hn

A brutalist web client for Hacker News.

clone: git clone https://gitbay.org/krz/hn.git

3dc1d58c6c6fec68fc6377769102cfa179c24aa0

unsigned

author: Christian Cleberg <hello@cleberg.net> · 2023-06-01T02:24:48Z

fix topstories bugs
 index.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/index.php b/index.php
index fecabc8..a61df1e 100644
--- a/index.php
+++ b/index.php
@@ -10,8 +10,7 @@ if (empty($elements[0])) {
                 'Top'
         );
         echo_html(
-       		$GLOBALS['full_domain'] . '/best/',
-		'The top stories from Hacker News, proxied by hn.',
+       		$GLOBALS['full_domain'] . '/top/',
 		'hn',
 		$html_output
         );
@@ -24,6 +23,7 @@ if (empty($elements[0])) {
 		        );
                         echo_html(
        	                	$GLOBALS['full_domain'] . '/top/',
+                		'The top stories from Hacker News, proxied by hn.',
 		                'hn',
 		                $html_output
                         );