feat(core): image hosts (server, litterbox, catbox, direct) and per-image rehosting
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
1e548701ca
commit
a6c02cb548
8 files changed
+295
No files matched your search
@@ -0,0 +1,8 @@
|
||||
import { viaServer, type ImageHost } from "./host";
|
||||
|
||||
/** Our server's covers folder; swept after 30 days (spec §4.6). */
|
||||
export const serverHost: ImageHost = {
|
||||
id: "server",
|
||||
lifetime: () => "30 days",
|
||||
upload: (image, ctx) => viaServer(image, ctx, { host: "store" }),
|
||||
};
|
||||
Reference in new issue
Block a user