summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMatthew Miller <matthew@millerti.me>2020-07-12 10:31:37 -0700
committerMatthew Miller <matthew@millerti.me>2020-07-12 10:31:37 -0700
commit902e6dc39f153d7c95ccad23a8e33eebafdfe3ae (patch)
treec653c46c6d26b507f366f12e7944b30db652bc3f
parentb45b8168c1e839d26d67d1029df9f5ef0c733a28 (diff)
Add some more comments to FIDO conformance router
-rw-r--r--example/fido-conformance.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/example/fido-conformance.js b/example/fido-conformance.js
index 48a9ef6..608b57d 100644
--- a/example/fido-conformance.js
+++ b/example/fido-conformance.js
@@ -232,6 +232,10 @@ fidoComplianceRouter.post('/assertion/result', (req, res) => {
});
});
+/**
+ * A catch-all for future test routes we might need to support but haven't yet defined (helps with
+ * discovering which routes, what methods, and what data need to be defined)
+ */
fidoComplianceRouter.all('*', (req, res, next) => {
console.log(req.url);
console.log(req.method);