diff --git a/cdkworkshop.com/cdkworkshop.com.ts b/cdkworkshop.com/cdkworkshop.com.ts index 9b520631f..724b8cbe6 100644 --- a/cdkworkshop.com/cdkworkshop.com.ts +++ b/cdkworkshop.com/cdkworkshop.com.ts @@ -102,7 +102,7 @@ export class CdkWorkshop extends Stack { runtime: cloudfront.FunctionRuntime.JS_2_0, code: cloudfront.FunctionCode.fromInline(` function handler(event) { - const newUri = ${props.redirectTarget}; + const newUri = '${props.redirectTarget}'; return { status: '302', statusDescription: 'Found',