mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-24 06:35:49 +03:00
a986da8aa8
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
17 lines
438 B
JavaScript
17 lines
438 B
JavaScript
module.exports = {
|
|
ONE_HOUR_S: 3600,
|
|
ONE_DAY_S: 86400,
|
|
ONE_MONTH_S: 2628000,
|
|
SIX_MONTH_S: 15768000,
|
|
ONE_YEAR_S: 31536000,
|
|
FIVE_MINUTES_MS: 300000,
|
|
ONE_HOUR_MS: 3600000,
|
|
ONE_DAY_MS: 86400000,
|
|
ONE_WEEK_MS: 604800000,
|
|
ONE_MONTH_MS: 2628000000,
|
|
SIX_MONTH_MS: 15768000000,
|
|
ONE_YEAR_MS: 31536000000,
|
|
STATIC_IMAGES_URL_PREFIX: 'content/images',
|
|
STATIC_MEDIA_URL_PREFIX: 'content/media'
|
|
};
|