Skip to content

Commit

Permalink
Fixed the underling cyclic stack dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
matusfaro committed Jan 5, 2024
1 parent 49be520 commit 6528229
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public ApiFunctionStack(Construct parent, Options options) {
public String getCorsAllowOrigins(final BaseStack stack) {
return switch (corsOrigins) {
case ANY -> "*";
case SITE -> DnsStack.createFqdn(this, getDeployEnv());
case SITE -> DnsStack.createFqdn(stack, getDeployEnv());
};
}

Expand Down

0 comments on commit 6528229

Please sign in to comment.