Skip to content

Commit ccc2fbc

Browse files
Update src/app/(collect)/q/[slug]/route.ts
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
1 parent d455a15 commit ccc2fbc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/app/(collect)/q/[slug]/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export async function GET(request: Request, { params }: { params: Promise<{ slug
4646
payload: {
4747
link: link.id,
4848
url: request.url,
49-
...(referer && { referer }), // avoid referrer is not a string
49+
...(referer && { referrer: referer }), // avoid referrer is not a string
5050
},
5151
};
5252

0 commit comments

Comments
 (0)