Skip to content

Commit

Permalink
chore: update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
khuezy committed Dec 9, 2022
1 parent 187645b commit c22a17c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/NextjsDistribution.ts
Original file line number Diff line number Diff line change
Expand Up @@ -334,8 +334,8 @@ export class NextjsDistribution extends Construct {
];

// default handler for requests that don't match any other path:
// - try S3 first
// - if 403, fall back to lambda handler (mostly for /)
// - try lambda handler first (/some-page, etc...)
// - if 403, fall back to S3
// - if 404, fall back to lambda handler
const fallbackOriginGroup = new origins.OriginGroup({
primaryOrigin: serverFunctionOrigin,
Expand Down

0 comments on commit c22a17c

Please sign in to comment.