Filter headers (#566)

This commit is contained in:
Jori Lallo
2018-02-04 22:32:13 -08:00
committed by GitHub
parent 47da3f2b9b
commit 8f53755258

View File

@@ -68,7 +68,9 @@ if (process.env.NODE_ENV === 'development') {
}
if (process.env.NODE_ENV === 'production' && process.env.BUGSNAG_KEY) {
bugsnag.register(process.env.BUGSNAG_KEY);
bugsnag.register(process.env.BUGSNAG_KEY, {
filters: ['authorization'],
});
app.on('error', bugsnag.koaHandler);
}