forked from mirror/pixelfed
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()
|
||||
{
|
||||
$query = urldecode($this->query->input('q'));
|
||||
if(Helpers::validateLocalUrl($query, false)) {
|
||||
if(Helpers::validateLocalUrl($query)) {
|
||||
if(Str::contains($query, '/p/')) {
|
||||
return $this->resolveLocalStatus();
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue