mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-06-26 21:39:43 +02:00
fix(panels):use session aware asset requests
This commit is contained in:
parent
b4328cd52b
commit
6e4d2eb076
4 changed files with 4 additions and 16 deletions
|
|
@ -6,7 +6,7 @@ import * as pdfjsLib from "pdfjs-dist";
|
|||
import { type ReactNode, useCallback, useEffect, useRef, useState } from "react";
|
||||
import { Button } from "@/components/ui/button";
|
||||
import { Spinner } from "@/components/ui/spinner";
|
||||
import { getAuthHeaders } from "@/lib/auth-utils";
|
||||
import { getAuthHeaders } from "@/lib/auth-fetch";
|
||||
|
||||
pdfjsLib.GlobalWorkerOptions.workerSrc = new URL(
|
||||
"pdfjs-dist/build/pdf.worker.min.mjs",
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ import {
|
|||
import { Spinner } from "@/components/ui/spinner";
|
||||
import { useMediaQuery } from "@/hooks/use-media-query";
|
||||
import { baseApiService } from "@/lib/apis/base-api.service";
|
||||
import { authenticatedFetch } from "@/lib/auth-utils";
|
||||
import { authenticatedFetch } from "@/lib/auth-fetch";
|
||||
import { buildBackendUrl } from "@/lib/env-config";
|
||||
|
||||
function ReportPanelSkeleton() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue