master
ELF 4 years ago
parent 518009134a
commit 6da122550c

@ -96,6 +96,9 @@ class ApplyService {
public function getDownloadDomain() public function getDownloadDomain()
{ {
if (C('APP_ENV') == 'prod') { if (C('APP_ENV') == 'prod') {
if (empty(C('DOMAIN_DOWNLOAD_PROD'))) {
return C('DOMAIN_DOWNLOAD');
}
return C('DOMAIN_DOWNLOAD_PROD'); return C('DOMAIN_DOWNLOAD_PROD');
} else { } else {
return C('DOMAIN_DOWNLOAD'); return C('DOMAIN_DOWNLOAD');

Loading…
Cancel
Save