Added images and media prefixes
refs https://linear.app/tryghost/issue/CORE-121/create-a-video-storage-adapter
- These paths are a bit painful to discover in URL utils and don't really have to live there. They should be used instead of the onse in @tryghost/url-utils
- the STATIC_IMAGES_URL_PREFIX comes form ef9ab5bd9e/packages/url-utils/lib/index.js (L37)
- the STATIC_MEDIA_URL_PREFIX is a new concept introduced for experimental "video" file support
This commit is contained in:
parent
81f566b44a
commit
a986da8aa8
@ -10,5 +10,7 @@ module.exports = {
|
||||
ONE_WEEK_MS: 604800000,
|
||||
ONE_MONTH_MS: 2628000000,
|
||||
SIX_MONTH_MS: 15768000000,
|
||||
ONE_YEAR_MS: 31536000000
|
||||
ONE_YEAR_MS: 31536000000,
|
||||
STATIC_IMAGES_URL_PREFIX: 'content/images',
|
||||
STATIC_MEDIA_URL_PREFIX: 'content/media'
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user