youtuber-blog-frontend/build/server/chunks/4-CHcw2V-r.js

31 lines
1.3 KiB
JavaScript
Raw Normal View History

2024-05-29 18:43:41 +00:00
import { c as config } from './config-DeQcbWtq.js';
import { r as redirect } from './index-Ddp2AB5f.js';
import 'dotenv';
const load = async ({ fetch, cookies }) => {
const res = await fetch(config.api_url + "/dashboard");
if (res.status > 399 && res.status < 499) {
redirect(302, "/app/auth");
}
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;
const component = async () => component_cache ??= (await import('./_page.svelte-DGISvNVf.js')).default;
2024-05-29 19:16:25 +00:00
const server_id = "src/routes/(app)/+page.server.js";
const imports = ["_app/immutable/nodes/4.LHK-BFG5.js","_app/immutable/chunks/scheduler.ncJpckHt.js","_app/immutable/chunks/index.DNKwBhZH.js","_app/immutable/chunks/each.C-Vm-bAH.js","_app/immutable/chunks/spread.CgU5AtxT.js","_app/immutable/chunks/Icon.B73p7tCT.js","_app/immutable/chunks/arrow-up-right.DlzuEt35.js","_app/immutable/chunks/index.Bf9t7sah.js","_app/immutable/chunks/index.BHY_2Zs4.js","_app/immutable/chunks/button.Dry7Ezxz.js","_app/immutable/chunks/table-row.Clc1lodG.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-05-29 19:16:25 +00:00
//# sourceMappingURL=4-CHcw2V-r.js.map