Subtitles are also sent on reshare
This commit is contained in:
parent
23b1c16bf7
commit
5e306cfde3
|
@ -18,6 +18,6 @@ WEB_HOOK_URI=https://accords-library.com/some/path
|
||||||
|
|
||||||
SFTP_PRIVATE_KEY="-----BEGIN RSA PRIVATE KEY-----\nxxxxxxxxxx..."
|
SFTP_PRIVATE_KEY="-----BEGIN RSA PRIVATE KEY-----\nxxxxxxxxxx..."
|
||||||
SFTP_USERNAME=someuser
|
SFTP_USERNAME=someuser
|
||||||
SFTP_HOST=ftp.host.com
|
SFTP_HOST=host.com
|
||||||
SFTP_DESTINATION_PATH_ROOT="/absolute/path/to/destination/root/folder"
|
SFTP_DESTINATION_PATH_ROOT="/absolute/path/to/destination/root/folder"
|
||||||
SFTP_BASE_URL=https://ftp-base-url.com
|
SFTP_BASE_URL=https://base-url.com
|
|
@ -7,8 +7,8 @@ export const VideosSubtitles = buildCollectionConfig({
|
||||||
labels: { singular: "Video Subtitle", plural: "Videos Subtitles" },
|
labels: { singular: "Video Subtitle", plural: "Videos Subtitles" },
|
||||||
admin: { group: CollectionGroups.Media, disableDuplicate: true, hidden: shownOnlyToAdmin },
|
admin: { group: CollectionGroups.Media, disableDuplicate: true, hidden: shownOnlyToAdmin },
|
||||||
upload: {
|
upload: {
|
||||||
staticDir: `../uploads/${Collections.VideosSubtitles}`,
|
|
||||||
mimeTypes: ["text/*"],
|
mimeTypes: ["text/*"],
|
||||||
|
disableLocalStorage: true,
|
||||||
},
|
},
|
||||||
timestamps: false,
|
timestamps: false,
|
||||||
fields: [],
|
fields: [],
|
||||||
|
|
|
@ -95,6 +95,11 @@ export default buildConfig({
|
||||||
disableLocalStorage: true,
|
disableLocalStorage: true,
|
||||||
disablePayloadAccessControl: true,
|
disablePayloadAccessControl: true,
|
||||||
},
|
},
|
||||||
|
[Collections.VideosSubtitles]: {
|
||||||
|
adapter: configuredFtpAdapter,
|
||||||
|
disableLocalStorage: true,
|
||||||
|
disablePayloadAccessControl: true,
|
||||||
|
},
|
||||||
[Collections.Audios]: {
|
[Collections.Audios]: {
|
||||||
adapter: configuredFtpAdapter,
|
adapter: configuredFtpAdapter,
|
||||||
disableLocalStorage: true,
|
disableLocalStorage: true,
|
||||||
|
|
Loading…
Reference in New Issue