Support web+ap in search

pull/23197/head
Soni L 2023-01-22 09:42:11 -03:00 committed by GitHub
parent 628dcbb732
commit 0b6293a66a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ export function submitSearch() {
api(getState).get('/api/v2/search', {
params: {
q: value,
q: value.replace(/^web\+ap:\/\//, 'https://'),
resolve: signedIn,
limit: 5,
},
@ -91,7 +91,7 @@ export const expandSearch = type => (dispatch, getState) => {
api(getState).get('/api/v2/search', {
params: {
q: value,
q: value.replace(/^web\+ap:\/\//, 'https://'),
type,
offset,
},