Skip to content

Instantly share code, notes, and snippets.

Last active July 6, 2022 13:28
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