mirror of
https://github.com/spacebarchat/server.git
synced 2026-05-11 10:27:06 +00:00
Clarify STORAGE_FORCE_PATH_STYLE env behavior
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user