sambecker/exif-photo-blog

Support AWS S3 compatible services

metgen opened this issue · 2 comments

Hello, I would like to use your project with AWS S3 compatible object storage ,timeweb.cloud Tell me how this can be implemented? I tried to edit this code but it didn't help

export const AWS_S3_BASE_URL = AWS_S3_BUCKET
  ? `https://${AWS_S3_BUCKET}.s3.timeweb.cloud`
  : undefined;

Снимок экрана от 2024-04-26 22-51-45

This was discussed in #79 and was being prototyped by @kylemclaren in #78.

Key issues here seem to be related to CORS and, I would imagine, presigned urls.

There were some subtle differences between the AWS and Cloudflare implementations currently offered in the template so I wouldn't be surprised if each vendor is slightly different.

Closing this in favor of #78 for now.