Skip to content

Commit

Permalink
misc: filter code
Browse files Browse the repository at this point in the history
  • Loading branch information
embbnux committed Jul 4, 2024
1 parent eb2f5d0 commit a32d7e8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/server/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ app.use(morgan(function (tokens, req, res) {
url = url.replace(webhookId, '[MASK]');
}
}
const code = req.query.code;
if (code) {
url = url.replace(code, '[MASK]');
}
if (url.indexOf('/get-form-data') === 0) {
const formIds = req.query.formIds;
if (formIds) {
Expand Down

0 comments on commit a32d7e8

Please sign in to comment.