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 { e as error } 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
|
|
|
|
|
|
|
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
|
|
|
|
});
|
|
|
|
|
2024-05-29 19:16:25 +00:00
|
|
|
const index = 10;
|
2024-05-29 18:43:41 +00:00
|
|
|
let component_cache;
|
2024-06-21 23:07:29 +00:00
|
|
|
const component = async () => component_cache ??= (await import('./_page.svelte-50EnzpYL.js')).default;
|
2024-05-29 18:43:41 +00:00
|
|
|
const server_id = "src/routes/site/[site_id]/[article_id]/+page.server.js";
|
2024-06-21 23:07:29 +00:00
|
|
|
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"];
|
2024-05-29 19:16:25 +00:00
|
|
|
const stylesheets = ["_app/immutable/assets/10.w1GLX82u.css"];
|
2024-05-29 18:43:41 +00:00
|
|
|
const fonts = [];
|
|
|
|
|
|
|
|
export { component, fonts, imports, index, _page_server as server, server_id, stylesheets };
|
2024-06-21 23:07:29 +00:00
|
|
|
//# sourceMappingURL=10-dz7-QIAF.js.map
|