fix: call savePortalSessions before kernel load
This commit is contained in:
parent
760cade655
commit
c5f7059161
|
@ -2,6 +2,7 @@ import {
|
|||
downloadSmallObject,
|
||||
maybeInitDefaultPortals,
|
||||
savePortals,
|
||||
savePortalSessions,
|
||||
setActivePortalMasterKey,
|
||||
} from "@lumeweb/libweb";
|
||||
import { log, logErr, sendAuthUpdate } from "./util.js";
|
||||
|
@ -67,6 +68,7 @@ export async function loadKernel() {
|
|||
}
|
||||
|
||||
savePortals();
|
||||
savePortalSessions();
|
||||
|
||||
try {
|
||||
await new Promise(async (resolve, reject) => {
|
||||
|
|
Loading…
Reference in New Issue