aboutsummaryrefslogtreecommitdiff
path: root/src/app.ts
diff options
context:
space:
mode:
authorHafeez2018-03-07 11:17:48 +0000
committerHafeez2018-03-07 11:17:48 +0000
commit4e3627622af4c42f9427dc44aaf326ee012804b9 (patch)
tree6fc771cd67db9976751d581013c05350925d91f0 /src/app.ts
parentfixed merge conflict (diff)
downloadmedicine-4e3627622af4c42f9427dc44aaf326ee012804b9.tar.gz
medicine-4e3627622af4c42f9427dc44aaf326ee012804b9.zip

changed login endpoint to oauth

Diffstat (limited to 'src/app.ts')
-rw-r--r--src/app.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app.ts b/src/app.ts
index 8bd488d..a7d74e5 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_'
] })
);