laosb/ghos3

Using adapter for videos and other media files

Closed this issue · 0 comments

In recent versions of Ghost, the storage adapter can be used for multiple object classes (video/audio/generic files) as long as it implements the urlToPath function

I've tested it by simply adding this to index.ts and rebuilding.

urlToPath(url) {
    return url;
}