youtuber-blog-frontend/build/server/chunks/4-c5_WWuME.js

31 lines
1.3 KiB
JavaScript
Raw Normal View History

2024-05-29 19:31:10 +00:00
import { c as config } from './config-BHx687w1.js';
2024-05-29 18:43:41 +00:00
import { r as redirect } from './index-Ddp2AB5f.js';
2024-05-29 19:31:10 +00:00
import './shared-server-i79vVjEm.js';
2024-05-29 18:43:41 +00:00
const load = async ({ fetch, cookies }) => {
const res = await fetch(config.api_url + "/dashboard");
if (res.status > 399 && res.status < 499) {
2024-05-29 19:23:04 +00:00
redirect(302, "/auth");
2024-05-29 18:43:41 +00:00
}
const data = await res.json();
return {
dashboard_info: data
};
};
var _page_server = /*#__PURE__*/Object.freeze({
__proto__: null,
load: load
});
2024-05-29 19:16:25 +00:00
const index = 4;
2024-05-29 18:43:41 +00:00
let component_cache;
2024-06-23 09:25:48 +00:00
const component = async () => component_cache ??= (await import('./_page.svelte-BR1QduIk.js')).default;
2024-05-29 19:16:25 +00:00
const server_id = "src/routes/(app)/+page.server.js";
2024-07-21 13:35:30 +00:00
const imports = ["_app/immutable/nodes/4.Cv3PmKu5.js","_app/immutable/chunks/scheduler.Nb9dF4RD.js","_app/immutable/chunks/index.aIvb1r_w.js","_app/immutable/chunks/each.DmwFL-7U.js","_app/immutable/chunks/spread.CgU5AtxT.js","_app/immutable/chunks/Icon.Bv1fUSKH.js","_app/immutable/chunks/arrow-up-right.DqNrRxIu.js","_app/immutable/chunks/index.CnPkSA2E.js","_app/immutable/chunks/index.275uym8j.js","_app/immutable/chunks/button.Hx4R_eXH.js","_app/immutable/chunks/table-row.CUYNMLiw.js"];
2024-05-29 18:43:41 +00:00
const stylesheets = [];
const fonts = [];
export { component, fonts, imports, index, _page_server as server, server_id, stylesheets };
2024-07-21 13:35:30 +00:00
//# sourceMappingURL=4-c5_WWuME.js.map