mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-31 06:59:33 +02:00
setup react email and nodemailer
This commit is contained in:
parent
fb55f1abc7
commit
46d988767a
11 changed files with 2497 additions and 4754 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue