mirror of
https://github.com/samuelthomas2774/nxapi.git
synced 2026-04-09 11:05:12 -05:00
Use a persistent session for web services
This means data saved using standard web APIs (e.g. localStorage, HTTP cookies) is saved across reloads.
This commit is contained in:
parent
407f72621c
commit
2ee7438faa
|
|
@ -10,7 +10,7 @@ import type { NativeShareRequest, NativeShareUrlRequest } from '../preload-webse
|
|||
const debug = createDebug('app:main:webservices');
|
||||
|
||||
export function createWebServiceWindow(nsa_id: string, webservice: WebService) {
|
||||
const browser_session = session.fromPartition('webservices-' + nsa_id, {
|
||||
const browser_session = session.fromPartition('persist:webservices-' + nsa_id, {
|
||||
cache: false,
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user