Jelajahi Sumber

Start work on login

ghorsington 4 tahun lalu
induk
melakukan
a72f2da158
1 mengubah file dengan 6 tambahan dan 0 penghapusan
  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("/");
+};