mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-29 22:01:49 +03:00
732f97a074
closes #10357
84 lines
2.9 KiB
JSON
84 lines
2.9 KiB
JSON
{
|
|
"paths": {
|
|
"appRoot": ".",
|
|
"corePath": "core/",
|
|
"clientAssets": "core/built/assets",
|
|
"helperTemplates": "core/server/helpers/tpl/",
|
|
"adminViews": "core/server/web/admin/views/",
|
|
"defaultViews": "core/server/views/",
|
|
"defaultSettings": "core/server/services/settings/",
|
|
"internalAppPath": "core/server/apps/",
|
|
"internalStoragePath": "core/server/adapters/storage/",
|
|
"internalSchedulingPath": "core/server/adapters/scheduling/",
|
|
"migrationPath": "core/server/data/migrations",
|
|
"publicFilePath": "core/server/public"
|
|
},
|
|
"apps": {
|
|
"internal": [
|
|
"private-blogging",
|
|
"subscribers",
|
|
"amp",
|
|
"members"
|
|
]
|
|
},
|
|
"slugs": {
|
|
"reserved": ["admin", "app", "apps", "categories",
|
|
"category", "dashboard", "feed", "ghost-admin", "login", "logout",
|
|
"page", "pages", "post", "posts", "public", "register", "setup",
|
|
"signin", "signout", "signup", "user", "users", "wp-admin", "wp-login"],
|
|
"protected": ["ghost", "rss", "amp"]
|
|
},
|
|
"uploads": {
|
|
"subscribers": {
|
|
"extensions": [".csv"],
|
|
"contentTypes": ["text/csv", "application/csv", "application/octet-stream"]
|
|
},
|
|
"images": {
|
|
"extensions": [".jpg", ".jpeg", ".gif", ".png", ".svg", ".svgz"],
|
|
"contentTypes": ["image/jpeg", "image/png", "image/gif", "image/svg+xml"]
|
|
},
|
|
"icons": {
|
|
"extensions": [".png", ".ico"],
|
|
"contentTypes": ["image/png", "image/x-icon", "image/vnd.microsoft.icon"]
|
|
},
|
|
"db": {
|
|
"extensions": [".json", ".zip"],
|
|
"contentTypes": ["text/plain", "application/octet-stream", "application/json", "application/zip", "application/x-zip-compressed"]
|
|
},
|
|
"themes": {
|
|
"extensions": [".zip"],
|
|
"contentTypes": ["application/zip", "application/x-zip-compressed", "application/octet-stream"]
|
|
},
|
|
"redirects": {
|
|
"extensions": [".json"],
|
|
"contentTypes": ["text/plain", "application/octet-stream", "application/json"]
|
|
},
|
|
"routes": {
|
|
"extensions": [".yaml"],
|
|
"contentTypes": ["text/plain", "text/yaml", "application/octet-stream", "application/yaml", "application/x-yaml"]
|
|
}
|
|
},
|
|
"times": {
|
|
"cannotScheduleAPostBeforeInMinutes": 2,
|
|
"publishAPostBySchedulerToleranceInMinutes": 2,
|
|
"getImageSizeTimeoutInMS": 5000
|
|
},
|
|
"maintenance": {
|
|
"enabled": false
|
|
},
|
|
"api": {
|
|
"versions": {
|
|
"all": ["v0.1", "v2"],
|
|
"v2": {
|
|
"admin": "v2/admin",
|
|
"content": "v2/content",
|
|
"members": "v2/members"
|
|
},
|
|
"v0.1": {
|
|
"admin": "v0.1",
|
|
"content": "v0.1"
|
|
}
|
|
}
|
|
}
|
|
}
|