update code to add design from main wp page

This commit is contained in:
usmannasir
2025-04-05 00:38:17 +05:00
parent ea6177c82e
commit adc0a8df2e
3 changed files with 7867 additions and 11 deletions

View File

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