Add possibility to use path style discovery on S3 tech docs. Enables the possibility to support S3-like buckets that rely on path style API like Localstack.

Signed-off-by: Jussi Hallila <jussi@hallila.com>
This commit is contained in:
Jussi Hallila
2021-04-29 09:43:10 +02:00
parent 7122e20b79
commit e9e56b01ac
5 changed files with 27 additions and 0 deletions
+7
View File
@@ -90,6 +90,13 @@ export interface Config {
* @visibility secret
*/
endpoint?: string;
/**
* (Optional) Whether to use path style URLs when communicating with S3.
* Defaults to false.
* This allows providers like LocalStack, Minio and Wasabi (and possibly others) to be used to host tech docs.
* @visibility backend
*/
endpoint?: string;
};
}
| {