This pull request introduces a new feature for customizing the image URL path in the AWS S3 uploader configuration. The most important changes include updating the README.md file, modifying the configuration interface, and adjusting the implementation to support the new urlPath option.
Documentation updates:
README.md: Added a new urlPath option to the documentation for customizing the image path. [1][2]
Configuration updates:
src/config.ts: Added urlPath to the IS3UserConfig interface.
src/index.ts: Updated the default configuration and user configuration to include urlPath. Renamed customImagePath to urlPath in the configuration options. [1][2]
Implementation updates:
src/index.ts: Modified the upload path to use urlPath if provided.
src/uploader.ts: Updated the upload task creation to use urlPath for constructing the final URL. [1][2][3]
issue:#45
This pull request introduces a new feature for customizing the image URL path in the AWS S3 uploader configuration. The most important changes include updating the
README.md
file, modifying the configuration interface, and adjusting the implementation to support the newurlPath
option.Documentation updates:
README.md
: Added a newurlPath
option to the documentation for customizing the image path. [1] [2]Configuration updates:
src/config.ts
: AddedurlPath
to theIS3UserConfig
interface.src/index.ts
: Updated the default configuration and user configuration to includeurlPath
. RenamedcustomImagePath
tourlPath
in the configuration options. [1] [2]Implementation updates:
src/index.ts
: Modified the upload path to useurlPath
if provided.src/uploader.ts
: Updated the upload task creation to useurlPath
for constructing the final URL. [1] [2] [3]