mirror of
https://github.com/Radiquum/AniX.git
synced 2025-05-03 19:39:39 +05:00
feat: add bookmarks & bookmarks category pages
This commit is contained in:
parent
a3f5f2e116
commit
bccc8407fc
13 changed files with 624 additions and 155 deletions
|
@ -4,7 +4,7 @@ import { ENDPOINTS } from "@/app/api/config";
|
|||
|
||||
export async function GET(request, params) {
|
||||
const token = request.nextUrl.searchParams.get(["token"]) || null;
|
||||
let url = new URL(`${ENDPOINTS.profile}/${params["params"]["id"]}`);
|
||||
let url = new URL(`${ENDPOINTS.user.profile}/${params["params"]["id"]}`);
|
||||
if (token) {
|
||||
url.searchParams.set("token", token);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue