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

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

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);