diff --git a/packages/prerender-proxy/index.ts b/packages/prerender-proxy/index.ts index 9181546a..fc41368b 100644 --- a/packages/prerender-proxy/index.ts +++ b/packages/prerender-proxy/index.ts @@ -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, @@ -14,4 +23,7 @@ export { ErrorResponseFunction, CloudFrontCacheControl, CloudFrontCacheControlOptions, + ErrorResponseFunctionOptions, + PrerenderFunctionOptions, + PrerenderLambdaProps, }; diff --git a/packages/prerender-proxy/lib/handlers/prerender.ts b/packages/prerender-proxy/lib/handlers/prerender.ts index 27cdb06f..1f9af75a 100644 --- a/packages/prerender-proxy/lib/handlers/prerender.ts +++ b/packages/prerender-proxy/lib/handlers/prerender.ts @@ -49,4 +49,3 @@ export const handler = async ( return request; }; -1;