Add support chat (#1066)
* Add support chat Co-authored-by: v1b3m <vibenjamin6@gmail.com> * Refactor the chat logic Co-authored-by: v1b3m <vibenjamin6@gmail.com> * Add HMAC signing Co-authored-by: v1b3m <vibenjamin6@gmail.com> * Update the button styles Co-authored-by: v1b3m <vibenjamin6@gmail.com> * Update the button styles Co-authored-by: v1b3m <vibenjamin6@gmail.com> * Refactor the chat logic Co-authored-by: v1b3m <vibenjamin6@gmail.com> * Fix the chat not loading Co-authored-by: v1b3m <vibenjamin6@gmail.com> * Fix the chat not loading Co-authored-by: v1b3m <vibenjamin6@gmail.com> * Add requested changes Co-authored-by: v1b3m <vibenjamin6@gmail.com> * Add requested changes Co-authored-by: v1b3m <vibenjamin6@gmail.com> * Add requested changes Co-authored-by: v1b3m <vibenjamin6@gmail.com> * Add requested changes Co-authored-by: v1b3m <vibenjamin6@gmail.com> * Add requested changes Co-authored-by: v1b3m <vibenjamin6@gmail.com> --------- Co-authored-by: v1b3m <vibenjamin6@gmail.com>
This commit is contained in:
@ -101,4 +101,16 @@ export class EnvironmentService {
|
||||
this.configService.get<string>('STORAGE_LOCAL_PATH') ?? '.local-storage'
|
||||
);
|
||||
}
|
||||
|
||||
getSupportDriver(): string {
|
||||
return this.configService.get<string>('SUPPORT_DRIVER') ?? 'front';
|
||||
}
|
||||
|
||||
getSupportFrontendKey(): string | null {
|
||||
return this.configService.get<string>('SUPPORT_FRONTEND_KEY') ?? null;
|
||||
}
|
||||
|
||||
getSupportHMACKey(): string | null {
|
||||
return this.configService.get<string>('SUPPORT_HMAC_KEY') ?? null;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user