ghorsington пре 4 година
родитељ
комит
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("/");
+};