new functions and js v=

This commit is contained in:
Mateusz Gruszczyński committed 2026-07-25 17:15:54 +02:00
1 parent d1d8bb0259
commit 0a02a0880e
31 files changed
+1035 -610

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
import { logDebug, logError, logWarn } from "./logger.js";
import { logDebug, logError, logWarn } from "@rustpad/logger";
function formatBytes(bytes) {
if (bytes >= 1024 * 1024) return `${(bytes / (1024 * 1024)).toFixed(bytes % (1024 * 1024) ? 1 : 0)} MB`;