stacker.news/lib/constants.js

13 lines
305 B
JavaScript
Raw Normal View History

2022-03-09 19:44:50 +00:00
export const NOFOLLOW_LIMIT = 100
export const BOOST_MIN = 1000
2022-05-12 18:44:21 +00:00
export const UPLOAD_SIZE_MAX = 2 * 1024 * 1024
export const IMAGE_PIXELS_MAX = 35000000
export const UPLOAD_TYPES_ALLOW = [
'image/gif',
'image/heic',
'image/png',
'image/jpeg',
'image/webp'
]
2022-05-17 22:09:15 +00:00
export const COMMENT_DEPTH_LIMIT = 10