diff --git a/code/espurna/web.ino b/code/espurna/web.ino index 5afa9070..c0083575 100644 --- a/code/espurna/web.ino +++ b/code/espurna/web.ino @@ -234,9 +234,9 @@ void _onHome(AsyncWebServerRequest *request) { response->addHeader("Content-Encoding", "gzip"); response->addHeader("Last-Modified", _last_modified); - response->addHeader("X-XSS-Protection", "1; mode=block"); - response->addHeader("X-Content-Type-Options", "nosniff"); - response->addHeader("X-Frame-Options", "deny"); + response->addHeader("X-XSS-Protection", "1; mode=block"); + response->addHeader("X-Content-Type-Options", "nosniff"); + response->addHeader("X-Frame-Options", "deny"); request->send(response); } diff --git a/code/gulpfile.js b/code/gulpfile.js index 0bcdf930..39f9325b 100644 --- a/code/gulpfile.js +++ b/code/gulpfile.js @@ -96,14 +96,14 @@ var buildHeaderFile = function() { cb(0, destination); - }); + }); } var htmllintReporter = function(filepath, issues) { - if (issues.length > 0) { - issues.forEach(function (issue) { - console.info( + if (issues.length > 0) { + issues.forEach(function (issue) { + console.info( '[gulp-htmllint] ' + filepath + ' [' + issue.line + ',' + @@ -111,9 +111,9 @@ var htmllintReporter = function(filepath, issues) { '(' + issue.code + ') ' + issue.msg ); - }); - process.exitCode = 1; - } + }); + process.exitCode = 1; + } }; var buildWebUI = function(module) {