alinea
Version:
Headless git-based CMS
21 lines (19 loc) • 477 B
JavaScript
import "../../chunks/chunk-NZLE2WMY.js";
// src/dashboard/boot/BootProd.ts
import { Client } from "alinea/core/Client";
import { boot } from "./Boot.js";
function bootProd(handlerUrl, cms, views) {
async function* getConfig() {
yield {
local: false,
revision: process.env.ALINEA_BUILD_ID,
config: cms.config,
views,
client: new Client({ config: cms.config, url: handlerUrl })
};
}
return boot(getConfig());
}
export {
bootProd
};