feat: manage frontend auth from YAML source
Pipelines as Code CI / hwlab-web-probe-sentinel-nc01- Success
Pipelines as Code CI / hwlab-web-probe-sentinel-nc01- Success
This commit is contained in:
+2
-2
@@ -456,8 +456,8 @@ async function main(): Promise<void> {
|
||||
}
|
||||
|
||||
if (top === "frontend") {
|
||||
const { runFrontendPublicExposureCommand } = await import("./src/frontend-public-exposure");
|
||||
const result = await runFrontendPublicExposureCommand(readConfig(), args.slice(1));
|
||||
const { runFrontendCommand } = await import("./src/frontend");
|
||||
const result = await runFrontendCommand(readConfig(), args.slice(1));
|
||||
const ok = (result as { ok?: unknown }).ok !== false;
|
||||
if (isRenderedCliResult(result)) {
|
||||
emitText(result.renderedText, result.command || commandName);
|
||||
|
||||
Reference in New Issue
Block a user