mirror of
https://github.com/cupcakearmy/autorestic.git
synced 2024-12-22 16:26:25 +00:00
enable sftp
This commit is contained in:
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…
Reference in New Issue
Block a user