update gdrive url
This commit is contained in:
parent
df58c27f17
commit
58b890c28e
|
|
@ -1073,7 +1073,7 @@ app.controller('googleDrive', function ($scope, $http) {
|
|||
$scope.driveHidden = true;
|
||||
|
||||
$scope.setupAccount = function(){
|
||||
window.open("https://platform.cyberpanel.net/gDrive?name=" + $scope.accountName + '&server=' + window.location.href + 'Setup');
|
||||
window.open("https://cloud.cyberpanel.net/gDrive?name=" + $scope.accountName + '&server=' + window.location.href + 'Setup');
|
||||
};
|
||||
|
||||
$scope.currentPage = 1;
|
||||
|
|
|
|||
|
|
@ -227,7 +227,7 @@ class IncScheduler():
|
|||
try:
|
||||
|
||||
finalData = json.dumps({'refresh_token': gDriveData['refresh_token']})
|
||||
r = requests.post("https://platform.cyberpanel.net/refreshToken", data=finalData
|
||||
r = requests.post("https://cloud.cyberpanel.net/refreshToken", data=finalData
|
||||
)
|
||||
gDriveData['token'] = json.loads(r.text)['access_token']
|
||||
|
||||
|
|
@ -309,7 +309,7 @@ class IncScheduler():
|
|||
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://platform.cyberpanel.net/refreshToken", data=finalData
|
||||
r = requests.post("https://cloud.cyberpanel.net/refreshToken", data=finalData
|
||||
)
|
||||
gDriveData['token'] = json.loads(r.text)['access_token']
|
||||
|
||||
|
|
|
|||
|
|
@ -1073,7 +1073,7 @@ app.controller('googleDrive', function ($scope, $http) {
|
|||
$scope.driveHidden = true;
|
||||
|
||||
$scope.setupAccount = function(){
|
||||
window.open("https://platform.cyberpanel.net/gDrive?name=" + $scope.accountName + '&server=' + window.location.href + 'Setup');
|
||||
window.open("https://cloud.cyberpanel.net/gDrive?name=" + $scope.accountName + '&server=' + window.location.href + 'Setup');
|
||||
};
|
||||
|
||||
$scope.currentPage = 1;
|
||||
|
|
|
|||
Loading…
Reference in New Issue