chore: organize imports after rebrand

This commit is contained in:
Peter Steinberger
2025-12-04 18:02:51 +00:00
parent 916a41ed60
commit 20cb709ae3
3 changed files with 6 additions and 8 deletions

View File

@@ -4,9 +4,8 @@ import fs from "node:fs/promises";
import { request } from "node:https";
import path from "node:path";
import { pipeline } from "node:stream/promises";
import { detectMime, extensionForMime } from "./mime.js";
import { CONFIG_DIR } from "../utils.js";
import { detectMime, extensionForMime } from "./mime.js";
const MEDIA_DIR = path.join(CONFIG_DIR, "media");
const MAX_BYTES = 5 * 1024 * 1024; // 5MB