aboutsummaryrefslogtreecommitdiff
path: root/src/app.ts
diff options
context:
space:
mode:
authorTom Harley2018-04-13 16:21:46 +0100
committerTom Harley2018-04-13 16:21:46 +0100
commit1905365083dc63d06de2a169c18163f4b04e231d (patch)
tree10ee91cbdb921a2f8c74291eeecca9cae9c9c7ec /src/app.ts
parentFix minor places, and add Postman collection (diff)
parentMerge branch 'trh/gets' of https://gitlab.cs.st-andrews.ac.uk/cs3099group-be-... (diff)
downloadmedicine-1905365083dc63d06de2a169c18163f4b04e231d.tar.gz
medicine-1905365083dc63d06de2a169c18163f4b04e231d.zip

Merge branch ‘trh/gets’ of gitlab.cs.st-andrews.ac.uk:cs3099group-be-4/project-code into trh/gets

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 fd094ef..c299cf7 100644
--- a/src/app.ts
+++ b/src/app.ts
@@ -75,6 +75,7 @@ class App {
logger.debug('Loading basic middleware');
this.express.use(expressJwt({secret: 'Mr Secret'})
.unless({path: [
+ '/',
'/cs3099group-be-4/oauth/token',
'/cs3099group-be-4/_supported_protocols_'
] })