Skip to content

Commit

Permalink
Reduce logging
Browse files Browse the repository at this point in the history
  • Loading branch information
NickPhura committed Feb 12, 2024
1 parent ed941b6 commit 9faa4c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const app: express.Express = express();

// Enable CORS
app.use(function (req: Request, res: Response, next: NextFunction) {
defaultLog.info(`${req.method} ${req.url}`);
defaultLog.debug(`${req.method} ${req.url}`);

Check warning on line 31 in api/src/app.ts

View check run for this annotation

Codecov / codecov/patch

api/src/app.ts#L31

Added line #L31 was not covered by tests

res.setHeader('Access-Control-Allow-Headers', 'X-Requested-With, Content-Type, Authorization, responseType');
res.setHeader('Access-Control-Allow-Methods', 'GET, POST, OPTIONS, PUT, PATCH, DELETE, HEAD');
Expand Down

0 comments on commit 9faa4c7

Please sign in to comment.