Skip to content

Commit

Permalink
Merge pull request #1064 from aligent/feature/DO-1495_prerender_funct…
Browse files Browse the repository at this point in the history
…ion_props

DO-1495: Expose prerender proxy props for individual construct
  • Loading branch information
krishanthisera authored Aug 15, 2023
2 parents 0178fd5 + 63d1258 commit 9cb425a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
18 changes: 15 additions & 3 deletions packages/prerender-proxy/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
import { PrerenderLambda } from "./lib/prerender-lambda-construct";
import { PrerenderFunction } from "./lib/prerender-construct";
import {
PrerenderLambda,
PrerenderLambdaProps,
} from "./lib/prerender-lambda-construct";
import {
PrerenderFunction,
PrerenderFunctionOptions,
} from "./lib/prerender-construct";
import { PrerenderCheckFunction } from "./lib/prerender-check-construct";
import { ErrorResponseFunction } from "./lib/error-response-construct";
import {
ErrorResponseFunction,
ErrorResponseFunctionOptions,
} from "./lib/error-response-construct";
import {
CloudFrontCacheControl,
CloudFrontCacheControlOptions,
Expand All @@ -14,4 +23,7 @@ export {
ErrorResponseFunction,
CloudFrontCacheControl,
CloudFrontCacheControlOptions,
ErrorResponseFunctionOptions,
PrerenderFunctionOptions,
PrerenderLambdaProps,
};
1 change: 0 additions & 1 deletion packages/prerender-proxy/lib/handlers/prerender.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,3 @@ export const handler = async (

return request;
};
1;

0 comments on commit 9cb425a

Please sign in to comment.