mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-10-01 01:36:00 -04:00
Applied styleci changes
This commit is contained in:
parent
420b29f32f
commit
93ef8c97b6
@ -36,6 +36,7 @@ class Request extends LaravelRequest
|
||||
|
||||
if ($appUrl) {
|
||||
$parsedBaseUrl = rtrim(implode('/', array_slice(explode('/', $appUrl), 3)), '/');
|
||||
|
||||
return empty($parsedBaseUrl) ? '' : ('/' . $parsedBaseUrl);
|
||||
}
|
||||
|
||||
|
@ -48,5 +48,4 @@ class UrlTest extends TestCase
|
||||
$this->assertEquals('/settings', $bsRequest->getPathInfo());
|
||||
$this->assertEquals('https://donkey.example.com/settings', $bsRequest->getUri());
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user