mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-12 17:44:31 +00:00
Update SearchApiV2Service
This commit is contained in:
parent
4573fd850f
commit
d3cd0eea11
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@ class SearchApiV2Service
|
||||||
protected function resolveQuery()
|
protected function resolveQuery()
|
||||||
{
|
{
|
||||||
$query = urldecode($this->query->input('q'));
|
$query = urldecode($this->query->input('q'));
|
||||||
if(Helpers::validateLocalUrl($query, false)) {
|
if(Helpers::validateLocalUrl($query)) {
|
||||||
if(Str::contains($query, '/p/')) {
|
if(Str::contains($query, '/p/')) {
|
||||||
return $this->resolveLocalStatus();
|
return $this->resolveLocalStatus();
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue