mirror of
https://github.com/umami-software/umami.git
synced 2026-02-06 05:37:20 +01:00
Fixed search for postgresql.
This commit is contained in:
parent
e6aebf5104
commit
91efb7f1d0
4 changed files with 30 additions and 40 deletions
|
|
@ -97,7 +97,7 @@ export default async (req: NextApiRequestCollect, res: NextApiResponse) => {
|
|||
// eslint-disable-next-line prefer-const
|
||||
let [urlPath, urlQuery] = url?.split('?') || [];
|
||||
let [referrerPath, referrerQuery] = referrer?.split('?') || [];
|
||||
let referrerDomain;
|
||||
let referrerDomain = '';
|
||||
|
||||
if (!urlPath) {
|
||||
urlPath = '/';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue