Is it possible to have Vercel cron call my custom domain (canonical URL) instead of the vercel URL?
Unanswered
IPJT posted this in #help-forum
IPJTOP
Vercel cron jobs will trigger your functions by calling the Vercel auto-assigned URL. Is it possible to make it call my custom domain instead?
2 Replies
IPJTOP
Thanks @Western paper wasp !
I've leaked some vercel auto-assigned URLs to users. I've fixed the leak but due to users having saved these URLs as bookmarks etc. I'd like to have all Vercel URLs redirect to the canonical URL (my custom domain) such that they do not end up on old deployments.
I've done so using Vercel Firewall, which works fine. Only problem is that it breaks my Vercel-cronjobs as they are redirected to my-domain.com (without /api/...)
I've leaked some vercel auto-assigned URLs to users. I've fixed the leak but due to users having saved these URLs as bookmarks etc. I'd like to have all Vercel URLs redirect to the canonical URL (my custom domain) such that they do not end up on old deployments.
I've done so using Vercel Firewall, which works fine. Only problem is that it breaks my Vercel-cronjobs as they are redirected to my-domain.com (without /api/...)
@IPJT can you change the domain settings and only have your domain there and remove the vercel domains ?