changed build workflow – for auth it's required to have better control over html and assets

This commit is contained in:
dswbx committed 2024-11-27 16:19:37 +01:00
1 parent d36c4b07e0
commit c31bc2ccb0
21 files changed
+559 -285

No files matched your search

+2 -2
View File
@@ -54,7 +54,7 @@ async function makeApp(config: MakeAppConfig) {
"app-built",
async () => {
await attachServeStatic(app, config.server?.platform ?? "node");
app.registerAdminController({ html: await getHtml() });
app.registerAdminController();
if (config.onBuilt) {
await config.onBuilt(app);
@@ -75,7 +75,7 @@ export async function makeConfigApp(config: BkndConfig, platform?: Platform) {
"app-built",
async () => {
await attachServeStatic(app, platform ?? "node");
app.registerAdminController({ html: await getHtml() });
app.registerAdminController();
if (config.onBuilt) {
await config.onBuilt(app);