mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
www/caddy: style sweep
This commit is contained in:
-1
@@ -81,5 +81,4 @@ class DiagnosticsController extends ApiMutableModelControllerBase
|
||||
// Return the response as an array which gets automatically encoded to JSON
|
||||
return ["status" => "success", "content" => $responseArray['content']];
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
-1
@@ -69,7 +69,6 @@ class ReverseProxyController extends ApiMutableModelControllerBase
|
||||
|
||||
foreach ((new \OPNsense\Caddy\Caddy())->reverseproxy->subdomain->iterateItems() as $subdomain) {
|
||||
if (!empty($subdomain->FromDomain)) {
|
||||
|
||||
$result['subdomains']['items'][] = [
|
||||
'value' => (string)$subdomain->getAttributes()['uuid'],
|
||||
'label' => (string)$subdomain->FromDomain
|
||||
|
||||
Reference in New Issue
Block a user