From b773b0025abb08ef600b73c0739ab0083d1e5500 Mon Sep 17 00:00:00 2001 From: ohmwraith Date: Fri, 24 Apr 2026 22:53:10 +0300 Subject: [PATCH] Clarify STORAGE_FORCE_PATH_STYLE env behavior --- src/cdn/util/Storage.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cdn/util/Storage.ts b/src/cdn/util/Storage.ts index 8b7602cbc..7579e2d61 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");