ghorsington преди 3 години
родител
ревизия
a72f2da158
променени са 1 файла, в които са добавени 6 реда и са изтрити 0 реда
  1. 6 0
      web/src/routes/auth.ts

+ 6 - 0
web/src/routes/auth.ts

@@ -0,0 +1,6 @@
+import { Request as ExpressRequest, Response as ExpressResponse } from "express";
+
+export const get = async (req: ExpressRequest, res: ExpressResponse): Promise<void> => {
+    console.log(req.url);
+    res.redirect("/");
+};