// Sortable columns per schema
const SEARCHABLE_COLUMNS = {
- VIDEOS: [ 'name', 'magnetUri', 'podUrl', 'author', 'tags' ]
+ VIDEOS: [ 'name', 'magnetUri', 'podHost', 'author', 'tags' ]
}
// Sortable columns per schema
}
}
CONFIG.WEBSERVER.URL = CONFIG.WEBSERVER.SCHEME + '://' + CONFIG.WEBSERVER.HOSTNAME + ':' + CONFIG.WEBSERVER.PORT
+CONFIG.WEBSERVER.HOST = CONFIG.WEBSERVER.HOSTNAME + ':' + CONFIG.WEBSERVER.PORT
// ---------------------------------------------------------------------------
{
script: '0020-requests-endpoint',
version: 20
+ },
+ {
+ script: '0025-video-filenames',
+ version: 25
+ },
+ {
+ script: '0030-video-magnet',
+ version: 30
+ },
+ {
+ script: '0035-url-to-host',
+ version: 35
+ },
+ {
+ script: '0040-video-remote-id',
+ version: 40
}
]
const LAST_MONGO_SCHEMA_VERSION = (maxBy(MONGO_MIGRATION_SCRIPTS, 'version'))['version']
const REMOTE_SCHEME = {
HTTP: 'https',
- WS: 'WS'
+ WS: 'wss'
}
// Password encryption
// ---------------------------------------------------------------------------
+// This method exists in utils module but we want to let the constants module independent
function isTestInstance () {
return (process.env.NODE_ENV === 'test')
}