Support custom endpoint and addressing style for S3
Add support for configurable S3 endpoint and addressing style (path-style/virtual-hosted)
to improve compatibility with S3-compatible storage services.
- Add forcePathStyle option to control URL addressing style
- Fix custom endpoint support implementation
- Improve URL generation logic for different configurations
Bug fixes
Fix the broken image on Logto console sign-in page
Remove the image element's cross-origin="anonymous"
attribute.
Some public image resources may not have the proper cross-origin headers configured, those images may fail to load when the cross-origin="anonymous" attribute is present.
Since sign-in page image elements are only used for display purposes, Logto does not need to access the image data, so the cross-origin="anonymous"
attribute is not necessary.To make the image elements more compatible with public image resources, remove the attribute from the image elements.