aboutsummaryrefslogtreecommitdiff
path: root/src/app.ts
diff options
context:
space:
mode:
authorjw2552018-04-13 16:10:32 +0100
committerjw2552018-04-13 16:10:32 +0100
commitdeab81f8ef469c4119838d72b56683b8dd4cbcfe (patch)
tree772727cde544fbaa86a1be0849b04a27c708d4d5 /src/app.ts
parentdatebase retrieves all properties (diff)
downloadmedicine-deab81f8ef469c4119838d72b56683b8dd4cbcfe.tar.gz
medicine-deab81f8ef469c4119838d72b56683b8dd4cbcfe.zip

fixed some privs

Diffstat (limited to 'src/app.ts')
-rw-r--r--src/app.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/app.ts b/src/app.ts
index d8dfe5d..f71ecf3 100644
--- a/src/app.ts
+++ b/src/app.ts
@@ -68,6 +68,7 @@ class App {
private middleware(): void {
this.express.use(expressJwt({secret: 'Mr Secret'})
.unless({path: [
+ '/',
'/cs3099group-be-4/oauth/token',
'/cs3099group-be-4/_supported_protocols_'
] })