feat: add custom host names

This commit is contained in:
Adhiraj Singh
2021-12-11 11:32:12 +05:30
parent 2b33a5202c
commit 792c4bf0a4
3 changed files with 8 additions and 4 deletions

View File

@@ -55,6 +55,8 @@ export type SocketConfig = {
mediaCache?: NodeCache
/** map to store the retry counts for failed messages */
msgRetryCounterMap?: { [msgId: string]: number }
/** custom domains to push media via */
customUploadHosts: string[]
/**
* fetch a message from your store
* implement this so that messages failed to send (solves the "this message can take a while" issue) can be retried