just hard code it for now i guess
This commit is contained in:
@@ -716,7 +716,7 @@ exports.createInvitation = onRequest({ cors: true }, async (req, res) => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
// Generate invite links
|
// 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}`;
|
const inviteLink = `${baseUrl}/#/employee-form/${code}`;
|
||||||
try {
|
try {
|
||||||
if (!!process.env.SENDGRID_API_KEY) {
|
if (!!process.env.SENDGRID_API_KEY) {
|
||||||
|
|||||||
Reference in New Issue
Block a user