aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/views/home.pug4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/views/home.pug b/src/views/home.pug
index 87f6e0a..ebe31de 100644
--- a/src/views/home.pug
+++ b/src/views/home.pug
@@ -4,9 +4,9 @@ html
4 +subMgmt() 4 +subMgmt()
5 script(async). 5 script(async).
6 window.addEventListener("load", () => { 6 window.addEventListener("load", () => {
7 const url = `/r/${getSubs().join('+')}`; 7 const url = getSubs().join('+');
8 if (url) { 8 if (url) {
9 window.location.href = url; 9 window.location.href = '/r/${url}';
10 } else { 10 } else {
11 window.location.href = '/r/all'; 11 window.location.href = '/r/all';
12 } 12 }