feat(storage): support a object storage custom path prefix

This commit is contained in:
Gabe Kangas
2023-08-02 13:35:47 -07:00
parent d5c54aacc1
commit 1a7b6b99d5
7 changed files with 44 additions and 4 deletions

View File

@@ -535,6 +535,13 @@ export const S3_TEXT_FIELDS_INFO = {
placeholder: 'your secret key',
tip: '',
},
pathPrefix: {
fieldName: 'pathPrefix',
label: 'Path prefix',
maxLength: 255,
placeholder: '/my/custom/path',
tip: 'Optionally prepend a custom path for the final URL',
},
forcePathStyle: {
fieldName: 'forcePathStyle',
label: 'Force path-style',

View File

@@ -39,6 +39,7 @@ const initialServerConfigState: ConfigDetails = {
endpoint: '',
region: '',
secret: '',
pathPrefix: '',
forcePathStyle: false,
},
yp: {