import { N as redirect } from '../../../chunks/utils.js-mIi_c4Oz.js';
import { d as destroySession } from '../../../chunks/auth.js-D502gejJ.js';

const actions = {
  default: async ({ cookies }) => {
    destroySession(cookies);
    throw redirect(303, "/login");
  }
};

var _page_server_ts = /*#__PURE__*/Object.freeze({
  __proto__: null,
  actions: actions
});

export { _page_server_ts as _ };
//# sourceMappingURL=_page.server.ts.js-DnzceX8-.js.map
