mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-06 21:35:55 +01:00
update code to add design from main wp page
This commit is contained in:
@@ -384,14 +384,6 @@ app.controller('listWebsites', function ($scope, $http, $window) {
|
||||
|
||||
};
|
||||
|
||||
$scope.getFullUrl = function(url) {
|
||||
if (!url) return '';
|
||||
if (url.startsWith('http://') || url.startsWith('https://')) {
|
||||
return url;
|
||||
}
|
||||
return 'https://' + url;
|
||||
};
|
||||
|
||||
$scope.showWPSites = function(domain) {
|
||||
var site = $scope.WebSitesList.find(function(site) {
|
||||
return site.domain === domain;
|
||||
|
||||
Reference in New Issue
Block a user