summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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);