Skip to content

Commit

Permalink
Merge pull request #552 from davidporos92/hotfix/backend-subdomain
Browse files Browse the repository at this point in the history
Fix for #550
  • Loading branch information
nWidart authored Jun 21, 2018
2 parents 18e0817 + b49c130 commit 6d58072
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modules/Core/Providers/CoreServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ public function bladeDirectives()
*/
private function onBackend()
{
$url = app(Request::class)->url();
$url = app(Request::class)->path();
if (str_contains($url, config('asgard.core.core.admin-prefix'))) {
return true;
}
Expand Down

0 comments on commit 6d58072

Please sign in to comment.