enable sftp

This commit is contained in:
cupcakearmy 2020-01-08 00:32:33 +01:00
parent f65a83991b
commit e3506e44b5

View File

@ -16,8 +16,8 @@ export const getPathFromBackend = (backend: Backend): string => {
case 'azure':
case 'gs':
case 's3':
return `${backend.type}:${backend.path}`
case 'sftp':
return `${backend.type}:${backend.path}`
case 'rest':
throw new Error(`Unsupported backend type: "${backend.type}"`)
default: