but its running on ec2 instace now i
but its running on ec2 instace now i wanna make upload fn to be run on serverless and i have no idea whats wrangler
11 Replies
ok i will do it again and if i face somethinng i will ping you thankyou 🙂
i want make upload api so 4 th option is good for me?
i will have to replce this with actual keys?
i dont find account_id i assume its id in wrangler.toml?
and binding is prefix?
okay!
my bucket name is test
that i have account_id and accessKey secret values
alright
got error 1101
const object = await env.MY_BUCKET.get(key);
getting errot on this line, i have configured my_bucket in toml file still 😐
Cannot read properties of undefined (reading 'get')
this line
Indentation problem?
okay!
finally progress maybe now i can move further
how silly im :/
i need help how can i upload images and get it
issue is that here i can send params and getting params response
someone its uploaded to this but i cant access bucket is public i can accesss other data but not this
@nora you there?
i have added dns record to bucket and all other files are accessible using that domain except that i did with worker
i dont understand
vc? possible for you?
please check dm i sent you link!
its not image its r2 bucket link
i upload others image from s3 sdk and test.jpg is from worker what i am working on
i can access all other picture from public link but test.jpg is not accessible
do i have to upload base64?
okay!
thanks 😄