Skip to content

Commit

Permalink
disable default timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
polypixeldev committed Dec 11, 2024
1 parent 05451c1 commit 7d45593
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 0 deletions.
Binary file modified cabinet/bun.lockb
Binary file not shown.
1 change: 1 addition & 0 deletions cabinet/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ app.use(async (req, res, next) => {

req.username = ident.userid?.toString();
req.admin = req.username === "root" || req.username === "nest-internal";
req.setTimeout(0);

if (req.query.impersonateUser && !req.admin) {
res
Expand Down

0 comments on commit 7d45593

Please sign in to comment.