feat: enhance vacation approval process by adding notification system for employees, including email alerts and in-app notifications; improve error handling and user feedback during vacation management
This commit is contained in:
@@ -5,7 +5,8 @@ import { type DataModel } from './_generated/dataModel';
|
||||
import { MutationCtx, query, QueryCtx } from './_generated/server';
|
||||
import { betterAuth } from 'better-auth';
|
||||
|
||||
const siteUrl = process.env.SITE_URL!;
|
||||
// Usar SITE_URL se disponível, caso contrário usar CONVEX_SITE_URL ou um valor padrão
|
||||
const siteUrl = process.env.SITE_URL || process.env.CONVEX_SITE_URL || 'http://localhost:5173';
|
||||
|
||||
// The component client has methods needed for integrating Convex with Better Auth,
|
||||
// as well as helper methods for general use.
|
||||
|
||||
Reference in New Issue
Block a user