34 lines
No EOL
764 B
JavaScript
34 lines
No EOL
764 B
JavaScript
const fileTypes = {
|
|
video: 'video',
|
|
audio: 'audio',
|
|
image: 'image',
|
|
file: 'file'
|
|
}
|
|
|
|
module.exports = {
|
|
server: {
|
|
port: 3001
|
|
},
|
|
passwords: ['fartsex'],
|
|
url: 'http://localhost:3001',
|
|
storagePath: '/tmp/yes',
|
|
fileTypes: fileTypes,
|
|
files: {
|
|
embed: {
|
|
'mp4': fileTypes.video,
|
|
'webm': fileTypes.video,
|
|
'mov': fileTypes.video,
|
|
|
|
'wav': fileTypes.audio,
|
|
'mp3': fileTypes.audio,
|
|
'ogg': fileTypes.audio,
|
|
|
|
'jpg': fileTypes.image,
|
|
'jpeg': fileTypes.image,
|
|
'png': fileTypes.image,
|
|
'gif': fileTypes.image,
|
|
'gifv': fileTypes.image,
|
|
},
|
|
other: fileTypes.file
|
|
}
|
|
}; |