MCPcopy Create free account
hub / github.com/Linen-dev/linen.dev / createPresignedUrl

Function createPresignedUrl

apps/web/services/aws/s3.ts:105–109  ·  view source on GitHub ↗
({ key }: { key: string })

Source from the content-addressed store, hash-verified

103};
104
105export const createPresignedUrl = ({ key }: { key: string }) => {
106 const command = new PutObjectCommand({ Bucket, Key: key });
107 // @ts-ignore
108 return getSignedUrl(s3Client, command, { expiresIn: 1800 });
109};

Callers 1

accounts.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected