Преглед изворни кода

spelling: redirect

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Josh Soref пре 3 година
родитељ
комит
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");
   }