silverwolf-x's picture
download
raw
339 Bytes
import { CollectionConfig } from "payload/types";
import path from "path";
export const Media: CollectionConfig = {
slug: "media",
upload: {
staticDir: path.resolve(__dirname, "../../media"),
},
access: {
read: () => true,
},
fields: [
{
name: "alt",
type: "text",
required: true,
},
],
};

Xet Storage Details

Size:
339 Bytes
·
Xet hash:
fdfc4f4799fb64711f4df77fab354c1fbdd4913ffe61f7f999c7d70d373fe143

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.