diff --git a/packs/vtex/handlers/sitemap.ts b/packs/vtex/handlers/sitemap.ts index a6dae3ea..76a2bd7d 100644 --- a/packs/vtex/handlers/sitemap.ts +++ b/packs/vtex/handlers/sitemap.ts @@ -1,6 +1,13 @@ -import base from "https://denopkg.com/deco-cx/apps@0.3.5/vtex/handlers/sitemap.ts"; +import type { Context } from "deco-sites/std/packs/vtex/accounts/vtex.ts"; +import { transform } from "deco-sites/std/packs/vtex/utils/future.ts"; +import { + default as base, + Props, +} from "https://denopkg.com/deco-cx/apps@0.3.5/vtex/handlers/sitemap.ts"; /** * @title Sitemap Proxy */ -export default base; +export default function SiteMapProxy(props: Props, ctx: Context) { + return base(props, transform(ctx)); +}