mirror of
https://github.com/docmost/docmost.git
synced 2025-11-13 12:42:38 +10:00
fix
This commit is contained in:
@ -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,
|
||||
|
||||
Reference in New Issue
Block a user