mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-26 20:34:02 +03:00
3d989eba23
refs https://github.com/TryGhost/Toolbox/issues/354 - this commit turns the Ghost repo into a monorepo so we can bring our internal packages back in, which makes life easier when working on Ghost
789 B
789 B
Content / Adapters
An adapter is a way to override a default behavior in Ghost. The default behavior in Ghost is as following:
LocalFileStorage
By default Ghost will upload your images to the content/images
folder.
The LocalFileStorage is using the file system to read or write images.
This default adapter can be found in core/server/adapters/storage/LocalFileStorage.js
.
SchedulingDefault
By default Ghost will schedule your posts using a pure JavaScript solution.
It doesn't use cron
or similar.
This default adapter can be found in core/server/adapters/scheduling/SchedulingDefault.js
.
Custom Adapter
To override any of the default adapters, you have to add a folder (content/adapters/storage
or content/adapters/scheduling
) and copy your adapter to it.