diff options
| author | Tom Harley | 2020-01-24 06:44:55 +0000 |
|---|---|---|
| committer | Tom Harley | 2020-01-24 06:44:55 +0000 |
| commit | 354e6851e70d7c19106af0d4f14c2b2751e7167d (patch) | |
| tree | 3a00ce281cd6466566708dc1c8234d0b2979945d /src/app.ts | |
| parent | Simplify Travis CI installing (diff) | |
| download | medicine-354e6851e70d7c19106af0d4f14c2b2751e7167d.tar.gz medicine-354e6851e70d7c19106af0d4f14c2b2751e7167d.zip | |
Changes from ages ago
HEADtrh/travis-setupDiffstat (limited to 'src/app.ts')
| -rw-r--r-- | src/app.ts | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -41,8 +41,8 @@ class App { * server. */ public constructor(enableLog: boolean) { + logger.setEnabled(enableLog); logger.debug('Constructing router'); - this.logEnabled = enableLog; this.express = ex(); this.express.use((req, res, next) => { if (req.headers.authorisation) { @@ -153,5 +153,5 @@ export default new App(true).express; */ // tslint:disable-next-line:variable-name export const TestApp: () => ex.Express = (): ex.Express => { - return new App(true).express; + return new App(false).express; }; |
