the editable site (validation-lab)
This commit is contained in:
commit
3ac81d5a52
13454 files changed
+2227005
No files matched your search
+12
@@ -0,0 +1,12 @@
|
||||
import { defineDriver } from "./utils/index.mjs";
|
||||
import localstorage from "./localstorage.mjs";
|
||||
const DRIVER_NAME = "session-storage";
|
||||
export default defineDriver((opts = {}) => {
|
||||
return {
|
||||
...localstorage({
|
||||
windowKey: "sessionStorage",
|
||||
...opts
|
||||
}),
|
||||
name: DRIVER_NAME
|
||||
};
|
||||
});
|
||||
Reference in new issue
Block a user