mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-03 09:34:48 +02:00
verify email workflow working
This commit is contained in:
parent
e176295593
commit
76eeb335a3
23 changed files with 16363 additions and 15802 deletions
|
@ -30,7 +30,13 @@ app.prepare().then(() => {
|
|||
externalServer.use(cors());
|
||||
externalServer.use(cookieParser());
|
||||
externalServer.use(express.json());
|
||||
externalServer.use(rateLimitMiddleware);
|
||||
externalServer.use(
|
||||
rateLimitMiddleware({
|
||||
windowMin: 1,
|
||||
max: 100,
|
||||
type: "IP_ONLY",
|
||||
}),
|
||||
);
|
||||
|
||||
const prefix = `/api/v1`;
|
||||
externalServer.use(prefix, unauthenticated);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue