summaryrefslogtreecommitdiffhomepage
path: root/example/index.js
diff options
context:
space:
mode:
authorMatthew Miller <matthew@millerti.me>2020-07-20 14:57:58 -0700
committerMatthew Miller <matthew@millerti.me>2020-07-20 14:58:21 -0700
commit1bccb4ab2fb7f21609835e9e344f86d27dd6b013 (patch)
tree0cc951feeb06b002b1e1e3fd73bb513a6aec7d84 /example/index.js
parenta7e9925ef0f5a87f41ed2dd9813029138971e3d0 (diff)
Add route suffix to exports and rename router
Diffstat (limited to 'example/index.js')
-rw-r--r--example/index.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/example/index.js b/example/index.js
index 7921c29..93cf1b5 100644
--- a/example/index.js
+++ b/example/index.js
@@ -32,8 +32,8 @@ app.use(express.json());
* FIDO Metadata Service. This enables greater control over the types of authenticators that can
* interact with the Rely Party (a.k.a. "RP", a.k.a. "this server").
*/
-// const FIDOConformanceRoutes = require('./fido-conformance');
-// app.use('/fido', FIDOConformanceRoutes);
+const { fidoRouteSuffix, fidoConformanceRouter } = require('./fido-conformance');
+app.use(fidoRouteSuffix, fidoConformanceRouter);
/**
* RP ID represents the "scope" of websites on which a authenticator should be usable. The Origin