diff --git a/backup/static/backup/backup.js b/backup/static/backup/backup.js index 221656767..c1978e04a 100755 --- a/backup/static/backup/backup.js +++ b/backup/static/backup/backup.js @@ -1088,7 +1088,7 @@ app.controller('googleDrive', function ($scope, $http) { $scope.driveHidden = true; $scope.setupAccount = function(){ - window.open("https://cloud.cyberpanel.net/gDrive?name=" + $scope.accountName + '&server=' + window.location.href + 'Setup'); + window.open("https://platform.cyberpersons.com/gDrive?name=" + $scope.accountName + '&server=' + window.location.href + 'Setup'); }; $scope.currentPage = 1; diff --git a/filemanager/templates/filemanager/index.html b/filemanager/templates/filemanager/index.html index 7aec97235..8fc1643a8 100755 --- a/filemanager/templates/filemanager/index.html +++ b/filemanager/templates/filemanager/index.html @@ -738,4 +738,4 @@ - + \ No newline at end of file diff --git a/filemanager/views.py b/filemanager/views.py index 67f25c66f..0d7eaab20 100755 --- a/filemanager/views.py +++ b/filemanager/views.py @@ -228,7 +228,6 @@ def FileManagerRoot(request): except BaseException as msg: template = 'baseTemplate/FileManager.html' - if currentACL['admin'] == 1: pass else: diff --git a/plogical/IncScheduler.py b/plogical/IncScheduler.py index ef38f429c..b5e97f30a 100644 --- a/plogical/IncScheduler.py +++ b/plogical/IncScheduler.py @@ -254,7 +254,7 @@ class IncScheduler(multi.Thread): try: finalData = json.dumps({'refresh_token': gDriveData['refresh_token']}) - r = requests.post("https://cloud.cyberpanel.net/refreshToken", data=finalData + r = requests.post("https://platform.cyberpersons.com/refreshToken", data=finalData ) gDriveData['token'] = json.loads(r.text)['access_token'] @@ -350,7 +350,7 @@ class IncScheduler(multi.Thread): drive.files().create(body=file_metadata, media_body=media, fields='id').execute() except: finalData = json.dumps({'refresh_token': gDriveData['refresh_token']}) - r = requests.post("https://cloud.cyberpanel.net/refreshToken", data=finalData + r = requests.post("https://platform.cyberpersons.com/refreshToken", data=finalData ) gDriveData['token'] = json.loads(r.text)['access_token'] diff --git a/static/backup/backup.js b/static/backup/backup.js index 92ccab6a5..e24218342 100644 --- a/static/backup/backup.js +++ b/static/backup/backup.js @@ -1082,7 +1082,7 @@ app.controller('googleDrive', function ($scope, $http) { $scope.driveHidden = true; $scope.setupAccount = function(){ - window.open("https://cloud.cyberpanel.net/gDrive?name=" + $scope.accountName + '&server=' + window.location.href + 'Setup'); + window.open("https://platform.cyberpersons.com/gDrive?name=" + $scope.accountName + '&server=' + window.location.href + 'Setup'); }; $scope.currentPage = 1;