mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-23 10:53:34 +03:00
8ad764aa2f
no issue - refs https://forum.ghost.org/t/import-json-file-from-v-2-34-0-to-v-3-0-3-ignores-my-subscribers/10324 - Windows machines that have excel installed use a weird mime type for CSV files - Users can fix this by adjusting their registry, but that's annoying - We should just allow this, it doesn't really change anything & we still require .csv as the extension
83 lines
2.8 KiB
JSON
83 lines
2.8 KiB
JSON
{
|
|
"paths": {
|
|
"appRoot": ".",
|
|
"corePath": "core/",
|
|
"clientAssets": "core/built/assets",
|
|
"helperTemplates": "core/frontend/helpers/tpl/",
|
|
"adminViews": "core/server/web/admin/views/",
|
|
"defaultViews": "core/server/views/",
|
|
"defaultSettings": "core/frontend/services/settings/",
|
|
"internalAppPath": "core/frontend/apps/",
|
|
"internalStoragePath": "core/server/adapters/storage/",
|
|
"internalSchedulingPath": "core/server/adapters/scheduling/",
|
|
"migrationPath": "core/server/data/migrations",
|
|
"publicFilePath": "core/server/public"
|
|
},
|
|
"apps": {
|
|
"internal": [
|
|
"private-blogging",
|
|
"amp"
|
|
]
|
|
},
|
|
"slugs": {
|
|
"protected": ["ghost", "rss", "amp"]
|
|
},
|
|
"uploads": {
|
|
"members": {
|
|
"extensions": [".csv"],
|
|
"contentTypes": ["text/csv", "application/csv", "application/octet-stream", "application/vnd.ms-excel"]
|
|
},
|
|
"images": {
|
|
"extensions": [".jpg", ".jpeg", ".gif", ".png", ".svg", ".svgz", ".ico"],
|
|
"contentTypes": ["image/jpeg", "image/png", "image/gif", "image/svg+xml", "image/x-icon", "image/vnd.microsoft.icon"]
|
|
},
|
|
"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": ["v2", "v3", "canary"],
|
|
"canary": {
|
|
"admin": "canary/admin",
|
|
"content": "canary/content",
|
|
"members": "canary/members"
|
|
},
|
|
"v3": {
|
|
"admin": "v3/admin",
|
|
"content": "v3/content",
|
|
"members": "v3/members"
|
|
},
|
|
"v2": {
|
|
"admin": "v2/admin",
|
|
"content": "v2/content"
|
|
}
|
|
}
|
|
}
|
|
}
|