1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Fix network mode for localhost server

This commit is contained in:
Bill Thornton 2024-09-03 09:59:39 -04:00
parent b9760eac75
commit 838e14e89f

View file

@ -1,3 +1,12 @@
import { QueryClient } from '@tanstack/react-query';
export const queryClient = new QueryClient();
export const queryClient = new QueryClient({
defaultOptions: {
mutations: {
networkMode: 'always' // network connection is not required if running on localhost
},
queries: {
networkMode: 'always' // network connection is not required if running on localhost
}
}
});