Commit b49c1308 authored by Pörös Dávid's avatar Pörös Dávid

only watch the request path for the backend route param, not the whole url

parent 18e0817d
......@@ -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