mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-17 13:31:39 +03:00
a413d70313
refs #8221 🔥 Remove ghost=true concept from asset url helper ✨ 💯 Introduce CSS minification with cssnano - add new grunt-cssnano dependency - wire up grunt task to minify public/ghost.css 🎨 Rename minification config & hash params - Change minifyInProduction -> hasMinFile - this means this asset should have a .min file available - Change minifyAssets -> useMinFiles - this means that in this env we want to serve .min files if available 🎨 Update public/ghost.css to serve .min for prod - add the new `hasMinFile` property 🎨 Move minified asset handling to asset_url util - this logic should be in the util, not the asset helper - updated tests 📖 Error handler always needs asset helper - this removes the TODO and adds a more sensible comment - we also need to update our theme documentation around error templates 🔥 Don't use asset helper in ghost head - use getAssetUrl util instead! - removed TODO 📖 Update proxy docs 🎨 Simplify asset helper & add tests - this refactor is a step prior to moving this from metadata to being a url util - needed to skip some new tests 🐛 Add missing handler for css file
58 lines
1.3 KiB
JSON
58 lines
1.3 KiB
JSON
{
|
|
"url": "http://127.0.0.1:2369",
|
|
"server": {
|
|
"port": 2369
|
|
},
|
|
"database": {
|
|
"client": "mysql",
|
|
"connection": {
|
|
"host" : "127.0.0.1",
|
|
"user" : "root",
|
|
"password" : "",
|
|
"database" : "ghost_testing"
|
|
}
|
|
},
|
|
"auth": {
|
|
"type": "password"
|
|
},
|
|
"logging": {
|
|
"level": "fatal"
|
|
},
|
|
"spam": {
|
|
"user_login": {
|
|
"minWait": 600000,
|
|
"maxWait": 604800000,
|
|
"freeRetries": 3
|
|
},
|
|
"user_reset": {
|
|
"minWait": 3600000,
|
|
"maxWait": 3600000,
|
|
"lifetime": 3600,
|
|
"freeRetries": 4
|
|
},
|
|
"global_reset": {
|
|
"minWait": 3600000,
|
|
"maxWait": 3600000,
|
|
"lifetime": 3600,
|
|
"freeRetries":4
|
|
},
|
|
"global_block": {
|
|
"minWait": 3600000,
|
|
"maxWait": 3600000,
|
|
"lifetime": 3600,
|
|
"freeRetries":4
|
|
},
|
|
"private_block": {
|
|
"minWait": 3600000,
|
|
"maxWait": 3600000,
|
|
"lifetime": 3600,
|
|
"freeRetries":99
|
|
}
|
|
},
|
|
"privacy": {
|
|
"useTinfoil": true,
|
|
"useStructuredData": true
|
|
},
|
|
"useMinFiles": false
|
|
}
|