mirror of
https://github.com/samuelthomas2774/nxapi.git
synced 2026-08-19 17:16:48 -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:
@@ -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,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user