mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Merge pull request #6011 from thornbill/fix-network-mode
Fix network mode for localhost server
This commit is contained in:
commit
b9925ebf73
1 changed files with 10 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue