From 06d53d350d9e1375fd7d15a638b2afc135ef6899 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Tue, 27 Jun 2017 13:51:32 -0400 Subject: [PATCH] app id to json extension --- gulpfile.js | 4 ++-- src/{app-id.fidou2f => app-id.json} | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename src/{app-id.fidou2f => app-id.json} (100%) diff --git a/gulpfile.js b/gulpfile.js index ec029db9..49d0b9be 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -326,7 +326,7 @@ gulp.task('dist:move', function () { paths.webroot + 'index.html', paths.webroot + 'u2f-connector.html', paths.webroot + 'favicon.ico', - paths.webroot + 'app-id.fidou2f' + paths.webroot + 'app-id.json' ], dest: paths.dist } @@ -444,7 +444,7 @@ gulp.task('serve', function () { root: ['src'], middleware: function (connect, opt) { return [function (req, res, next) { - if (req.originalUrl.indexOf('app-id.fidou2f') > -1) { + if (req.originalUrl.indexOf('app-id.json') > -1) { res.setHeader('Content-Type', 'application/fido.trusted-apps+json'); } next(); diff --git a/src/app-id.fidou2f b/src/app-id.json similarity index 100% rename from src/app-id.fidou2f rename to src/app-id.json