enable sftp

pull/23/head
cupcakearmy 5 years ago
parent f65a83991b
commit e3506e44b5

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

Loading…
Cancel
Save