mirror of
https://github.com/fosrl/pangolin.git
synced 2026-01-28 22:00:51 +00:00
setup react email and nodemailer
This commit is contained in:
@@ -12,6 +12,7 @@ import {
|
||||
import internal from "@server/routers/internal";
|
||||
import { authenticated, unauthenticated } from "@server/routers/external";
|
||||
import cookieParser from "cookie-parser";
|
||||
import { User } from "@server/db/schema";
|
||||
|
||||
const dev = environment.ENVIRONMENT !== "prod";
|
||||
|
||||
@@ -67,3 +68,11 @@ app.prepare().then(() => {
|
||||
);
|
||||
});
|
||||
});
|
||||
|
||||
declare global {
|
||||
namespace Express {
|
||||
interface Request {
|
||||
user?: User;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user