mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-07 05:45:59 +01:00
GitLab integration to websites.
This commit is contained in:
@@ -4247,6 +4247,12 @@ app.controller('setupGit', function($scope, $http, $timeout) {
|
||||
$scope.installProg = true;
|
||||
$scope.goBackDisable = true;
|
||||
|
||||
var defaultProvider = 'github';
|
||||
|
||||
$scope.setProvider = function (provider) {
|
||||
defaultProvider = provider;
|
||||
};
|
||||
|
||||
|
||||
var statusFile;
|
||||
var domain = $("#domainNamePage").text();
|
||||
@@ -4355,7 +4361,8 @@ app.controller('setupGit', function($scope, $http, $timeout) {
|
||||
domain: domain,
|
||||
username: $scope.githubUserName,
|
||||
reponame: $scope.githubRepo,
|
||||
branch: $scope.githubBranch
|
||||
branch: $scope.githubBranch,
|
||||
defaultProvider: defaultProvider
|
||||
};
|
||||
|
||||
var config = {
|
||||
|
||||
Reference in New Issue
Block a user