Unverified Commit 6d58072d authored by Nicolas Widart's avatar Nicolas Widart Committed by GitHub

Merge pull request #552 from davidporos92/hotfix/backend-subdomain

Fix for #550
parents 18e0817d b49c1308
......@@ -349,7 +349,7 @@ class CoreServiceProvider extends ServiceProvider
*/
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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment