diff --git a/phpmon/Domain/DomainList/Cells/DomainListProxiesCell.swift b/phpmon/Domain/DomainList/Cells/DomainListProxiesCell.swift index 33c866d..8860fc2 100644 --- a/phpmon/Domain/DomainList/Cells/DomainListProxiesCell.swift +++ b/phpmon/Domain/DomainList/Cells/DomainListProxiesCell.swift @@ -18,6 +18,7 @@ class DomainListProxiesCell: NSTableCellView, DomainListCellProtocol @IBOutlet weak var buttonProxyList: NSButton! func populateCell(with site: ValetSite) { + /* // Show the first proxy textFieldPrimary.stringValue = (site.proxies.count == 0) ? "" @@ -30,5 +31,7 @@ class DomainListProxiesCell: NSTableCellView, DomainListCellProtocol // Show button buttonProxyList.isHidden = site.proxies.count == 0 + */ } + } diff --git a/phpmon/Domain/Integrations/Valet/ValetSite.swift b/phpmon/Domain/Integrations/Valet/ValetSite.swift index 4b9a0d5..ed87be0 100644 --- a/phpmon/Domain/Integrations/Valet/ValetSite.swift +++ b/phpmon/Domain/Integrations/Valet/ValetSite.swift @@ -59,9 +59,6 @@ class ValetSite { ?? PhpEnv.phpInstall.version.short } - /// Proxies set up for this domain. - var proxies: [String] = [] - enum VersionSource: String { case unknown = "unknown" case require = "require" @@ -87,7 +84,6 @@ class ValetSite { determineComposerPhpVersion() determineDriver() determineIsolated() - determineProxies() } } @@ -224,18 +220,6 @@ class ValetSite { } } - /** - TODO: This method should determine which proxies are active for this site. - For test purposes this method currently will set a fixed value for - my own website, eyo. Fun. I will need to check how to determine which - sites are being proxied, first (and how this works!). - */ - private func determineProxies() { - if self.name == "nicoverbruggen" { - self.proxies = ["127.0.0.1:1337", "127.0.0.1:9999"] - } - } - // MARK: File Parsing public static func isolatedVersion(_ filePath: String) -> String? {