aboutsummaryrefslogtreecommitdiff
path: root/src/app.ts
diff options
context:
space:
mode:
authorcjd242018-03-07 03:21:14 +0000
committercjd242018-03-07 03:21:14 +0000
commit79e192389adaf4368dcd3103bc2a633444fc990f (patch)
treef73c906acab3511a6661aa35257dfce85b681025 /src/app.ts
parentAdded ordering support for base tiles, now need to cut out chunks and stitch ... (diff)
downloadmedicine-79e192389adaf4368dcd3103bc2a633444fc990f.tar.gz
medicine-79e192389adaf4368dcd3103bc2a633444fc990f.zip

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

Diffstat (limited to 'src/app.ts')
-rw-r--r--src/app.ts4
1 files changed, 2 insertions, 2 deletions
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 {