UNPKG

@paroicms/connector

Version:

An API to help build management tools for ParoiCMS instances

24 lines 543 B
export function makeDefaultConfigForSingleSite(options = {}) { const { devAccount } = options; const devAccountConf = devAccount ? `, "devAccount": { "email": "dev@localhost", "password": "init", "name": "dev" }` : ""; return `{ "port": 8080, "allowRobots": false, "enableCache": false, "singleSite": { "siteDir": ".", "dataDir": "data", "cacheDir": "cache", "backupDir": "backup", "fqdn": "localhost" }${devAccountConf} }`; } //# sourceMappingURL=default-config.js.map