From 79e192389adaf4368dcd3103bc2a633444fc990f Mon Sep 17 00:00:00 2001 From: cjd24 Date: Wed, 7 Mar 2018 03:21:14 +0000 Subject: fixed some random problems everywhere, and made typescript a little happier with czi.ts and XMLparsed to get max x and y instead of janky unreliable thing --- src/app.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/app.ts') diff --git a/src/app.ts b/src/app.ts index 8bd488d..c9c6d33 100644 --- a/src/app.ts +++ b/src/app.ts @@ -38,7 +38,7 @@ class App { private middleware(): void { this.express.use(expressJwt({secret: 'Mr Secret'}) .unless({path: [ - '/cs3099group-be-4/login', + '/cs3099group-be-4/oauth/token', '/cs3099group-be-4/_supported_protocols_' ] }) ); @@ -61,7 +61,7 @@ class App { }); this.express.use('/', defRouter); this.express.use('/cs3099group-be-4', FileRouter); - this.express.use('/cs3099group-be-4', authRouter); + this.express.use('/cs3099group-be-4', authRouter); } private errorware(): void { -- cgit v1.2.1