Добавил переносов строк и пробелов в сериализацию конфигурации на страницу

This commit is contained in:
Primakov Alexandr Alexandrovich 2022-02-07 23:41:03 +03:00
parent fae0236e66
commit 7b0811327b

View File

@ -5,7 +5,7 @@ const registerPartialsWithExtensions = require('./utils/registerPartialsWithExte
function toJSON (obj) { function toJSON (obj) {
if (typeof obj === 'object') { if (typeof obj === 'object') {
return JSON.stringify(obj) return JSON.stringify(obj, null, 4)
} }
return obj return obj
} }