You're not in Canada!

This page is using a Netlify Edge Function to rewrite the URL based on visitor geography.

const rewrite = async (request, context) => {
    const path = context.geo?.country?.code === 'CA' ? '/edge/canada' : '/edge/not-canada';
    return new URL(path, request.url);
};

export const config = {
    path: '/edge'
};

export default rewrite;