Skip to content

Commit

Permalink
Fix App path
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey Surkov committed Jan 23, 2023
1 parent 924ea21 commit 70dd080
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "symbiotic/full",
"description": "Complete assembly of the SymbioticPHP framework with a cached container and optimized core services",
"license": "BSD-3-Clause",
"version": "1.4.0.3",
"version": "1.4.1.3",
"homepage": "https://symbioticphp.com",
"authors": [
{
Expand Down
2 changes: 1 addition & 1 deletion src/Routing/PackagesSettlements.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,6 @@ public function getByKey(string $key, mixed $value, bool $all = false): Settleme
*/
public function getPathByUrl(string $url): string
{
return preg_replace('~(^((.+?\..+?)[/])|(^(https?://)?localhost(:\d+)?[/]))(.*)~i', '/', $url);
return parse_url($url, PHP_URL_PATH);
}
}

0 comments on commit 70dd080

Please sign in to comment.