quad-j/config.js
2020-10-02 22:46:23 +03:00

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
}
};