mirror of
https://github.com/docmost/docmost.git
synced 2025-11-13 19:42:39 +10:00
fix
This commit is contained in:
@ -79,6 +79,7 @@ export function sanitizeFileName(fileName: string): string {
|
|||||||
export function removeAccent(str: string): string {
|
export function removeAccent(str: string): string {
|
||||||
if (!str) return str;
|
if (!str) return str;
|
||||||
return str.normalize('NFD').replace(/[\u0300-\u036f]/g, '');
|
return str.normalize('NFD').replace(/[\u0300-\u036f]/g, '');
|
||||||
|
}
|
||||||
|
|
||||||
export function extractBearerTokenFromHeader(
|
export function extractBearerTokenFromHeader(
|
||||||
request: FastifyRequest,
|
request: FastifyRequest,
|
||||||
|
|||||||
Reference in New Issue
Block a user