You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
1.1 KiB
35 lines
1.1 KiB
From 7e3e59a4ab72c7fdcedf00e28247f565cdc3f84d Mon Sep 17 00:00:00 2001
|
|
From: Alexey Berezhok <alexey.berezhok@softline.com>
|
|
Date: Mon, 21 Aug 2023 16:56:22 +0300
|
|
Subject: [PATCH] Added yandex disk webdav support
|
|
|
|
---
|
|
src/goabackend/goayandexprovider.c | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/src/goabackend/goayandexprovider.c b/src/goabackend/goayandexprovider.c
|
|
index ab74283..acaa599 100644
|
|
--- a/src/goabackend/goayandexprovider.c
|
|
+++ b/src/goabackend/goayandexprovider.c
|
|
@@ -99,7 +99,7 @@ get_scope (GoaOAuth2Provider *oauth2_provider)
|
|
static guint
|
|
get_credentials_generation (GoaProvider *provider)
|
|
{
|
|
- return 24;
|
|
+ return 34;
|
|
}
|
|
|
|
static const gchar *
|
|
@@ -284,7 +284,7 @@ build_object (GoaProvider *provider,
|
|
|
|
/* Files */
|
|
files_enabled = g_key_file_get_boolean (key_file, group, "FilesEnabled", NULL);
|
|
- uri_drive = g_strconcat ("https://cloud-api.yandex.net/v1/disk", NULL);
|
|
+ uri_drive = g_strconcat ("davs://webdav.yandex.ru/", NULL);
|
|
goa_object_skeleton_attach_files (object, uri_drive, files_enabled, FALSE);
|
|
g_free (uri_drive);
|
|
|
|
--
|
|
2.39.1
|
|
|