skip requesting cookie-session

This commit is contained in:
Oliver Kieselbach
2026-02-10 23:22:10 +01:00
parent b61c9ccc27
commit c2cfadd281
@@ -41,6 +41,7 @@ export function SignalRProvider({ children }: { children: React.ReactNode }) {
const hubUrl = `${API_BASE_URL}/api/realtime`;
const newConnection = new signalR.HubConnectionBuilder()
.withUrl(hubUrl, {
withCredentials: false,
accessTokenFactory: async () => {
const token = await getAccessToken();
return token || '';