summaryrefslogtreecommitdiff
path: root/src/router/redirects.ts
diff options
context:
space:
mode:
authorgumi <git@gumi.ca>2021-08-19 12:14:37 -0400
committergumi <git@gumi.ca>2021-08-19 12:21:16 -0400
commit802fb4adaf2e4ffd76b08dc23e29e4c8f4bed543 (patch)
treeeed99a377249bdac523c275614925078e6e02167 /src/router/redirects.ts
parentc3d48e0be54364cf14df4eb1c3ed49d74ae8ab6d (diff)
downloadwebsite-802fb4adaf2e4ffd76b08dc23e29e4c8f4bed543.tar.gz
website-802fb4adaf2e4ffd76b08dc23e29e4c8f4bed543.tar.bz2
website-802fb4adaf2e4ffd76b08dc23e29e4c8f4bed543.tar.xz
website-802fb4adaf2e4ffd76b08dc23e29e4c8f4bed543.zip
fix some typescript warnings
Diffstat (limited to 'src/router/redirects.ts')
-rw-r--r--src/router/redirects.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/router/redirects.ts b/src/router/redirects.ts
index 949a531..241abe6 100644
--- a/src/router/redirects.ts
+++ b/src/router/redirects.ts
@@ -19,7 +19,7 @@ const redirects = [
},
{
path: "/downloads.php",
- redirect: () => {
+ redirect: (): void => {
self.location.href = "https://manaplus.themanaworld.org/";
}
},