- Move Astro files from dealplustech-astro/ to project root - Update Dockerfile: PORT environment variable (default 80) - Add vite.config.ts with allowedHosts: true - Matches nixpacks behavior for Easypanel deployment - No hardcoded ports or domains
13 lines
302 B
JavaScript
13 lines
302 B
JavaScript
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
|
|
};
|
|
});
|