From b3dc5f0fe7bd931a244471205e328bc8c04a4a3c Mon Sep 17 00:00:00 2001 From: Steven Zhou Date: Sat, 18 May 2024 18:18:13 -0700 Subject: [PATCH] commenting out invalid stage error for localsetup --- stacks/frontend.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/stacks/frontend.ts b/stacks/frontend.ts index edad885..2563bdb 100644 --- a/stacks/frontend.ts +++ b/stacks/frontend.ts @@ -13,9 +13,10 @@ export function FrontendStack({ app, stack }: StackContext) { } else if (app.stage.match(/^staging-(\d+)$/)) { // check if stage is like staging-### domainName = `${app.stage}.zotnfound.com`; - } else { - throw new Error("Invalid stage"); } + // } else { + // throw new Error("Invalid stage"); + // } const web = new StaticSite(stack, "web", { path: "packages/web",