diff options
author | Matthew Miller <matthew@millerti.me> | 2020-11-16 20:49:47 -0800 |
---|---|---|
committer | Matthew Miller <matthew@millerti.me> | 2020-11-16 20:49:47 -0800 |
commit | 6ded94e2cb309fa9b55b4cf4689c27d9832d5703 (patch) | |
tree | fe145f583a8d315401dfe1aa41facc2f4bcf8d8a | |
parent | 4eeaab3b85f10378cd1248808c5d850885bf9ccf (diff) |
Fix exports in fido-conformance.ts
-rw-r--r-- | example/fido-conformance.ts | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/example/fido-conformance.ts b/example/fido-conformance.ts index 47746b9..4b8e0c3 100644 --- a/example/fido-conformance.ts +++ b/example/fido-conformance.ts @@ -21,12 +21,12 @@ interface LoggedInFIDOUser extends LoggedInUser { /** * Create paths specifically for testing with the FIDO Conformance Tools */ -const fidoConformanceRouter = express.Router(); +export const fidoConformanceRouter = express.Router(); +export const fidoRouteSuffix = '/fido'; const rpName = 'FIDO Conformance Test'; const rpID = 'localhost'; const origin = 'https://localhost'; -const fidoRouteSuffix = '/fido'; /** * Load JSON metadata statements provided by the Conformance Tools @@ -283,8 +283,3 @@ fidoConformanceRouter.all('*', (req, res, next) => { next(); }); - -module.exports = { - fidoConformanceRouter, - fidoRouteSuffix, -}; |