bug fixes

This commit is contained in:
Usman Nasir
2022-04-24 02:55:01 +05:00
parent 3b6b9017cc
commit d05371528d
5 changed files with 5 additions and 6 deletions

View File

@@ -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;

View File

@@ -228,7 +228,6 @@ def FileManagerRoot(request):
except BaseException as msg:
template = 'baseTemplate/FileManager.html'
if currentACL['admin'] == 1:
pass
else:

View File

@@ -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']

View File

@@ -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;