File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ import { env } from './env'
18
18
// This storage client is designed to work with any S3-compatible storage provider.
19
19
// For Cloudflare R2, see https://developers.cloudflare.com/r2/examples/aws/aws-sdk-js-v3/
20
20
21
+ const STORAGE_DOMAIN = 'storage.agentic.so'
21
22
const Bucket = env . S3_BUCKET
22
23
23
24
export const storageClient = new S3Client ( {
@@ -117,7 +118,7 @@ export async function uploadFileUrlToStorage(
117
118
throw new Error ( `Invalid source file URL: ${ inputUrl } ` )
118
119
}
119
120
120
- if ( source . hostname === 'storage.agentic.so' ) {
121
+ if ( source . hostname === STORAGE_DOMAIN ) {
121
122
// The source is already a public URL hosted on Agentic's blob storage.
122
123
return source . toString ( )
123
124
}
Original file line number Diff line number Diff line change 7
7
"type" : " git" ,
8
8
"url" : " git+https://github.com/transitive-bullshit/agentic.git"
9
9
},
10
- "packageManager" : " pnpm@10.13.1 " ,
10
+ "packageManager" : " pnpm@10.15.0 " ,
11
11
"engines" : {
12
12
"node" : " >=20"
13
13
},
You canβt perform that action at this time.
0 commit comments