youtuber-blog-frontend/build/server/chunks/10-dz7-QIAF.js
2024-06-22 01:07:29 +02:00

29 lines
1.1 KiB
JavaScript

import { c as config } from './config-BHx687w1.js';
import { e as error } from './index-Ddp2AB5f.js';
import './shared-server-i79vVjEm.js';
async function load(event) {
const result = await fetch(config.api_url + "/blog/article?slug=" + event.params.article_id).then((x) => x.json());
if (!result.article)
error(404);
return {
...result
};
}
var _page_server = /*#__PURE__*/Object.freeze({
__proto__: null,
load: load
});
const index = 10;
let component_cache;
const component = async () => component_cache ??= (await import('./_page.svelte-50EnzpYL.js')).default;
const server_id = "src/routes/site/[site_id]/[article_id]/+page.server.js";
const imports = ["_app/immutable/nodes/10.BN14l0y8.js","_app/immutable/chunks/scheduler.BsMbz5U8.js","_app/immutable/chunks/index.rkWRBFIu.js","_app/immutable/chunks/each.jOEBnCSj.js","_app/immutable/chunks/spread.CgU5AtxT.js"];
const stylesheets = ["_app/immutable/assets/10.w1GLX82u.css"];
const fonts = [];
export { component, fonts, imports, index, _page_server as server, server_id, stylesheets };
//# sourceMappingURL=10-dz7-QIAF.js.map