Просмотр исходного кода

spelling: redirect

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Josh Soref 3 лет назад
Родитель
Сommit
a4540b59f6
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      server/handlers/links.ts

+ 1 - 1
server/handlers/links.ts

@@ -279,7 +279,7 @@ export const redirect = (app: ReturnType<typeof next>): Handler => async (
   });
 
   // 3. When no link, if has domain redirect to domain's homepage
-  // otherwise rediredt to 404
+  // otherwise redirect to 404
   if (!link) {
     return res.redirect(301, domain ? domain.homepage : "/404");
   }