feat: Обновлены все URL Nextcloud с office.klientprav.tech на office.clientright.ru
Обновленные файлы: - crm_extensions/nextcloud_api.php (2 места) - modules/Documents/actions/NcPrepareEdit.php - crm_extensions/nextcloud_editor/js/nextcloud-editor.js - crm_extensions/file_storage/api/get_edit_urls.php - crm_extensions/file_storage/api/simple_edit.php - crm_extensions/README.md - NEXTCLOUD_EDIT_BUTTON_IMPLEMENTATION.md - crm_extensions/docs/NEXTCLOUD_EDITOR.md - test_syntax_check.html - crm_extensions/tests/test_edit_button.html Все ссылки теперь указывают на новый сервер office.clientright.ru Backup файлы и тестовые директории не изменены
This commit is contained in:
@@ -31,7 +31,7 @@ try {
|
||||
}
|
||||
|
||||
// Определяем тип файла и путь
|
||||
$baseUrl = 'https://office.klientprav.tech';
|
||||
$baseUrl = 'https://office.clientright.ru';
|
||||
|
||||
if ($fileInfo['filelocationtype'] === 'E' && $fileInfo['s3_key']) {
|
||||
// Файл в S3 - используем nc_path
|
||||
@@ -141,7 +141,7 @@ function getRealFileId($ncPath) {
|
||||
|
||||
// Пытаемся получить реальный fileId через WebDAV
|
||||
try {
|
||||
$url = 'https://office.klientprav.tech/remote.php/dav/files/admin' . $ncPath;
|
||||
$url = 'https://office.clientright.ru/remote.php/dav/files/admin' . $ncPath;
|
||||
|
||||
$ch = curl_init();
|
||||
curl_setopt_array($ch, [
|
||||
|
||||
Reference in New Issue
Block a user