diff --git a/backend/functions/src/cloud-functions/searcher.ts b/backend/functions/src/cloud-functions/searcher.ts index 61abe4a..0ab5cf2 100644 --- a/backend/functions/src/cloud-functions/searcher.ts +++ b/backend/functions/src/cloud-functions/searcher.ts @@ -90,7 +90,7 @@ export class SearcherHost extends RPCHost { ) { const uid = await auth.solveUID(); let chargeAmount = 0; - const noSlashPath = decodeURIComponent(ctx.req.url).slice(1); + const noSlashPath = decodeURIComponent(ctx.req.path).slice(1); if (!noSlashPath && !q) { const latestUser = uid ? await auth.assertUser() : undefined; if (!ctx.req.accepts('text/plain') && (ctx.req.accepts('text/json') || ctx.req.accepts('application/json'))) { diff --git a/thinapps-shared b/thinapps-shared index da6e55d..e313674 160000 --- a/thinapps-shared +++ b/thinapps-shared @@ -1 +1 @@ -Subproject commit da6e55d2d5ea310ebc443dab6cdca9f7a9d8e67d +Subproject commit e3136746a0736b7308c56406abf0b7126ec788f9