Skip to content

⚡️⚡️⚡️ Self-hosted collaborative bookmark manager to collect, read, annotate, and fully preserve what matters, all in one place.

bug fix

daniel31x137c647ae02dee
diff --git a/packages/router/links.tsx b/packages/router/links.tsx
index 8a7fe247..0806f7d4 100644
--- a/packages/router/links.tsx
+++ b/packages/router/links.tsx
@@ -66,13 +66,15 @@ const useFetchLinks = (
return useInfiniteQuery({
queryKey: ["links", { params }],
queryFn: async (params) => {
+ const url =
+ (auth?.instance ? auth?.instance : "") +
+ "/api/v1/search?cursor=" +
+ params.pageParam +
+ ((params.queryKey[1] as any).params
+ ? "&" + (params.queryKey[1] as any).params
+ : "");
const response = await fetch(
- auth?.instance +
- "/api/v1/search?cursor=" +
- params.pageParam +
- ((params.queryKey[1] as any).params
- ? "&" + (params.queryKey[1] as any).params
- : ""),
+ url,
auth?.session
? {
headers: {