summary refs log tree commit diff
diff options
context:
space:
mode:
authorohmwraith <vs.ohmwraith@gmail.com>2026-04-24 22:53:10 +0300
committerRory& <root@rory.gay>2026-04-29 19:35:38 +0200
commitb773b0025abb08ef600b73c0739ab0083d1e5500 (patch)
tree3bc6ea38cf5dd7aa1924de65552d19ba8fddc62a
parentImplement S3 force path-style support (diff)
downloadserver-ts-b773b0025abb08ef600b73c0739ab0083d1e5500.tar.xz
Clarify STORAGE_FORCE_PATH_STYLE env behavior
-rw-r--r--src/cdn/util/Storage.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cdn/util/Storage.ts b/src/cdn/util/Storage.ts

index 8b7602cb..7579e2d6 100644 --- a/src/cdn/util/Storage.ts +++ b/src/cdn/util/Storage.ts
@@ -86,7 +86,7 @@ if (process.env.STORAGE_PROVIDER === "file" || !process.env.STORAGE_PROVIDER) { const forcePathStyle = process.env.STORAGE_FORCE_PATH_STYLE === "true"; if (process.env.STORAGE_FORCE_PATH_STYLE === undefined) { - console.warn(`[CDN] STORAGE_FORCE_PATH_STYLE unconfigured for S3 provider, defaulting to use virtual-hosted style...`); + console.warn(`[CDN] STORAGE_FORCE_PATH_STYLE is not set for S3 provider; defaulting to virtual-hosted style. Set STORAGE_FORCE_PATH_STYLE=true to enable path-style addressing.`); } const { S3Storage } = require("./S3Storage");