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:
@@ -17,7 +17,7 @@ try {
|
||||
}
|
||||
|
||||
// Используем хардкод базового URL для избежания проблем с конфигом
|
||||
$baseUrl = 'https://office.klientprav.tech';
|
||||
$baseUrl = 'https://office.clientright.ru';
|
||||
|
||||
// Отладочная информация
|
||||
error_log("get_edit_urls.php: recordId=$recordId, fileName=$fileName");
|
||||
|
||||
@@ -19,7 +19,7 @@ try {
|
||||
error_log("Simple Editor: Record $recordId, File $fileName");
|
||||
|
||||
// Простая версия - пока просто возвращаем ссылку на Nextcloud
|
||||
$nextcloudUrl = "https://office.klientprav.tech/apps/files/?dir=/CRM_Active_Files/Documents/" . $recordId;
|
||||
$nextcloudUrl = "https://office.clientright.ru/apps/files/?dir=/CRM_Active_Files/Documents/" . $recordId;
|
||||
|
||||
// В будущем здесь будет:
|
||||
// 1. Загрузка файла из vTiger в Nextcloud
|
||||
|
||||
Reference in New Issue
Block a user