merge commit

This commit is contained in:
Philipinho
2026-03-24 10:52:09 +00:00
parent 975b4dcaab
commit 6d6f3a8a8e
3 changed files with 11 additions and 6 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
import bytes from "bytes";
import { castToBoolean } from "@/lib/utils.tsx";
import { AvatarIconType } from "@/features/attachments/types/attachment.types.ts";
import { sanitizeUrl } from "@docmost/editor-ext";
declare global {
interface Window {
@@ -66,7 +67,7 @@ export function getFileUrl(src: string) {
if (src.startsWith("/files/")) {
return getBackendUrl() + src;
}
return src;
return sanitizeUrl(src);
}
export function getFileUploadSizeLimit() {