This commit is contained in:
Philipinho
2025-07-29 14:51:55 -07:00
parent ec0ed5c630
commit 9e6765d83c

View File

@ -79,6 +79,7 @@ export function sanitizeFileName(fileName: string): string {
export function removeAccent(str: string): string {
if (!str) return str;
return str.normalize('NFD').replace(/[\u0300-\u036f]/g, '');
}
export function extractBearerTokenFromHeader(
request: FastifyRequest,