diff --git a/customize.dist/four-oh-four.js b/customize.dist/four-oh-four.js index 91f8450ef..b26b1bc04 100644 --- a/customize.dist/four-oh-four.js +++ b/customize.dist/four-oh-four.js @@ -14,6 +14,7 @@ define([ var is500 = Boolean(document.querySelector('#five-hundred')); var brand = h('h1#cp-brand', 'CryptPad'); + // Msg.fivehundred_internalServerError.four04_pageNotFound var message = h('h2#cp-scramble', Messages[is500? 'fivehundred_internalServerError':'four04_pageNotFound']); var title = h('h2#cp-title', is500? "500":"404"); diff --git a/lib/storage/blob.js b/lib/storage/blob.js index 7cf13dd59..159a33492 100644 --- a/lib/storage/blob.js +++ b/lib/storage/blob.js @@ -496,7 +496,8 @@ BlobStore.create = function (config, _cb) { if (e) { CB(e); } })); }).nThen(function (w) { - // XXX make a placeholder file in the root of the blob path + // make a placeholder file in the root of the blob path + // so that the checkup page always has a resource it can check var fullPath = Path.join(Env.blobPath, 'placeholder.txt'); Fse.writeFile(fullPath, 'PLACEHOLDER\n', w()); }).nThen(function () { diff --git a/www/admin/inner.js b/www/admin/inner.js index 934589ea7..48a8d6c33 100644 --- a/www/admin/inner.js +++ b/www/admin/inner.js @@ -1968,7 +1968,7 @@ define([ create['bytes-written'] = function () { var key = 'bytes-written'; - var $div = makeBlock(key); + var $div = makeBlock(key); // Msg.admin_bytesWrittenTitle.admin_bytesWrittenHint var duration = APP.instanceStatus.profilingWindow; if (!isPositiveInteger(duration)) { duration = 10000; } diff --git a/www/support/inner.js b/www/support/inner.js index 2b6f761d5..7c176bcc6 100644 --- a/www/support/inner.js +++ b/www/support/inner.js @@ -49,7 +49,7 @@ define([ 'cp-support-language', 'cp-support-form', ], - 'debugging': [ + 'debugging': [ // Msg.support_cat_debugging 'cp-support-debugging-data', ], };