Skip to content

Commit

Permalink
commenting out invalid stage error for localsetup
Browse files Browse the repository at this point in the history
  • Loading branch information
stevem-zhou committed May 19, 2024
1 parent ae6e9c7 commit b3dc5f0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions stacks/frontend.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit b3dc5f0

Please sign in to comment.