Skip to content

Commit

Permalink
Return full base URL
Browse files Browse the repository at this point in the history
  • Loading branch information
CatoTH committed Sep 21, 2024
1 parent 8f3b5a1 commit a45a829
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/db/Site.php
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ public function getBaseUrl(): string
{
$domain = str_replace('<subdomain:[\w_-]+>', $this->subdomain, AntragsgruenApp::getInstance()->domainSubdomain);

return trim(explode("//", $domain)[1], '/');
return trim($domain);
}

public function createDefaultSiteAdminGroup(): ConsultationUserGroup
Expand Down

0 comments on commit a45a829

Please sign in to comment.