Skip to content

Instantly share code, notes, and snippets.

@trnktms
Last active Jul 6, 2022
Embed
What would you like to do?
async rewrites() {
// When in connected mode we want to proxy Sitecore paths off to Sitecore
return [
// media items
{
source: '/-/:path*',
destination: '/api/rewrite-sitecore-media',
}
];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment