diff --git a/packages/static-hosting/lib/arbitrary-path-remap.ts b/packages/static-hosting/lib/arbitrary-path-remap.ts index d02fc255..47aa7244 100644 --- a/packages/static-hosting/lib/arbitrary-path-remap.ts +++ b/packages/static-hosting/lib/arbitrary-path-remap.ts @@ -20,7 +20,7 @@ export class ArbitraryPathRemapFunction extends Construct { { code: Bundling.bundle({ entry: `${__dirname}/handlers/remap.ts`, - runtime: Runtime.NODEJS_14_X, + runtime: Runtime.NODEJS_16_X, sourceMap: true, projectRoot: `${__dirname}/handlers/`, depsLockFilePath: `${__dirname}/handlers/package-lock.json`,