aboutsummaryrefslogtreecommitdiff
path: root/src/FileRouter.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/FileRouter.ts')
-rw-r--r--src/FileRouter.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/FileRouter.ts b/src/FileRouter.ts
index 4dc3105..b3b1a38 100644
--- a/src/FileRouter.ts
+++ b/src/FileRouter.ts
@@ -19,7 +19,7 @@ const BASE_FILE_STORAGE: string = 'TODO: figure this out';
/**
* The type of an Express middleware callback.
*/
-type Middleware =
+export type Middleware =
(req: Request, res: Response, next: NextFunction) => void;
/**
@@ -536,7 +536,7 @@ export class FileRouter {
*/
public init(): void {
// General
- this.router.get ('/_supported_protocols_', getProtocols);
+ this.router.get ('/_supported_protocols_', getProtocols);
this.router.get ('/log', getLog);
this.router.post('/log', postLog);
this.router.get ('/properties', getProperties);