diff --git a/gulpfile.js b/gulpfile.js index ec029db9b78..49d0b9beb59 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