Browse Source

Start work on login

ghorsington 4 năm trước cách đây
mục cha
commit
a72f2da158
1 tập tin đã thay đổi với 6 bổ sung0 xóa
  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("/");
+};