aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Cleberg <hello@cleberg.net>2023-05-31 21:24:48 -0500
committerChristian Cleberg <hello@cleberg.net>2023-05-31 21:24:48 -0500
commit3dc1d58c6c6fec68fc6377769102cfa179c24aa0 (patch)
treeb8c355dc6cc84a6f322c79f9106fc9ef844a0512
parent7f4dbdb90df753dfc9460034a4411467351bf495 (diff)
downloadhn-3dc1d58c6c6fec68fc6377769102cfa179c24aa0.tar.gz
hn-3dc1d58c6c6fec68fc6377769102cfa179c24aa0.tar.bz2
hn-3dc1d58c6c6fec68fc6377769102cfa179c24aa0.zip
fix topstories bugs
-rw-r--r--index.php4
1 files 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
);