Astro+Directus(Visual-Editing)+Snipcart Test-Stack

This commit is contained in:
2026-06-21 06:27:52 +00:00
commit 1459e99cb0
10119 changed files with 1499318 additions and 0 deletions
+12
View File
@@ -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
};
});