This commit is contained in:
David Bomba 2022-06-22 12:28:17 +10:00
commit ba0380c0e7
3 changed files with 342 additions and 334 deletions

View File

@ -17,14 +17,10 @@ class DNSListener
public function addDNSRecord(SubdomainWasUpdated $event) public function addDNSRecord(SubdomainWasUpdated $event)
{ {
if(env("CLOUDFLARE_DNS_ENABLED"))
Cloudflare::addDNSRecord($event->account);
} }
public function removeDNSRecord(SubdomainWasRemoved $event) public function removeDNSRecord(SubdomainWasRemoved $event)
{ {
if(env("CLOUDFLARE_DNS_ENABLED"))
Cloudflare::removeDNSRecord($event->account);
} }
} }

View File

@ -49,7 +49,7 @@
"fruitcakestudio/omnipay-sisow": "~2.0", "fruitcakestudio/omnipay-sisow": "~2.0",
"fzaninotto/faker": "^1.5", "fzaninotto/faker": "^1.5",
"google/apiclient": "^2.0", "google/apiclient": "^2.0",
"guzzlehttp/guzzle": "^6.3", "guzzlehttp/guzzle": "^6.5",
"guzzlehttp/psr7": "1.8.5", "guzzlehttp/psr7": "1.8.5",
"intervention/image": "dev-master", "intervention/image": "dev-master",
"jaybizzle/laravel-crawler-detect": "1.*", "jaybizzle/laravel-crawler-detect": "1.*",

670
composer.lock generated

File diff suppressed because it is too large Load Diff