Skip to content

Commit

Permalink
Omit /health from logs
Browse files Browse the repository at this point in the history
  • Loading branch information
bencmbrook committed Sep 26, 2020
1 parent 33ae86e commit 5ad9f3f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions javascript/src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ const {
// Set up the server
const app = express();
const port = PORT;
app.all('/health', (_, res) => res.sendStatus(200));

// Middlewares
app.use(morgan('tiny'));
Expand All @@ -35,8 +36,6 @@ app.use(

app.use(bodyParser.json());

app.all('/health', (_, res) => res.sendStatus(200));

/*
* Receive webhook for identity enrichment (optional)
* This path is set by you in the Admin Dashboard.
Expand Down
2 changes: 1 addition & 1 deletion javascript/src/scheduleAccessRequest.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const pipeline = promisify(stream.pipeline);
// Constants
const {
TRANSCEND_API_KEY,
} = require('../constants');
} = require('./constants');

// Helpers
const {
Expand Down

0 comments on commit 5ad9f3f

Please sign in to comment.