Files
lst_v3/backend/auth/auth.routes.ts
Blake Matthes 7c31b43a4a
All checks were successful
Build and Push LST Docker Image / docker (push) Successful in 1m27s
fix(app): emit.maxlistener issue
BREAKING CHANGE: moved teh middleware to call the api hits to the main app and removed from
everywhere else

closes #18
2026-05-11 13:25:43 -05:00

12 lines
338 B
TypeScript

import type { Express } from "express";
import login from "./login.route.js";
import register from "./register.route.js";
export const setupAuthRoutes = (baseUrl: string, app: Express) => {
//setup all the routes
app.use(`${baseUrl}/api/authentication/login`, login);
app.use(`${baseUrl}/api/authentication/register`, register);
};