Add option to override endpoint to non-cross domain version