Skip to content

Commit

Permalink
Transform sitemap context (#222)
Browse files Browse the repository at this point in the history
Signed-off-by: Marcos Candeia <[email protected]>
  • Loading branch information
mcandeia authored Sep 6, 2023
1 parent 5770774 commit 678353f
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions packs/vtex/handlers/sitemap.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
import base from "https://denopkg.com/deco-cx/[email protected]/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/[email protected]/vtex/handlers/sitemap.ts";

/**
* @title Sitemap Proxy
*/
export default base;
export default function SiteMapProxy(props: Props, ctx: Context) {
return base(props, transform(ctx));
}

0 comments on commit 678353f

Please sign in to comment.