diff --git a/functions/index.js b/functions/index.js index 5075738..58895fb 100644 --- a/functions/index.js +++ b/functions/index.js @@ -716,7 +716,7 @@ exports.createInvitation = onRequest({ cors: true }, async (req, res) => { }); // Generate invite links - const baseUrl = process.env.CLIENT_URL || 'http://localhost:5173'; + const baseUrl = process.env.CLIENT_URL || 'https://auditly-one.vercel.app'; const inviteLink = `${baseUrl}/#/employee-form/${code}`; try { if (!!process.env.SENDGRID_API_KEY) {