summary refs log tree commit diff
path: root/src/cdn/util/Storage.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/cdn/util/Storage.ts')
-rw-r--r--src/cdn/util/Storage.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cdn/util/Storage.ts b/src/cdn/util/Storage.ts

index 7579e2d6..3245f655 100644 --- a/src/cdn/util/Storage.ts +++ b/src/cdn/util/Storage.ts
@@ -86,7 +86,9 @@ 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 is not set for S3 provider; defaulting to virtual-hosted style. Set STORAGE_FORCE_PATH_STYLE=true to enable path-style addressing.`); + 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");