|
|
@ -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:
|
|
|
|