Skip to content

armgit / fuobe

Public Imported from GitHub
0

The open creative studio on ComfyUI: images, video, 3D and audio on open weights, on your own GPU or the cloud. Camera motions, effects, apps, Cinema, Layers, Image to 3D and an AI agent.

360 B
Raw Blame
import { fileResponse } from "@/server/file-response";

export async function GET(request: Request, ctx: RouteContext<"/api/files/[...path]">) {
  const { path: parts } = await ctx.params;
  // Next has decoded each segment once already: decoding again would turn %252e into "." (stored names never need it).
  return fileResponse(request, parts.join("/"));
}