Răsfoiți Sursa

♻️ refactor(agora): clean up commented code in token service

- remove commented line for AGORA_APP_SECRET that was no longer in use
- keep only active primary certificate configuration using AGORA_PRIMARY_CERT
yourname 5 luni în urmă
părinte
comite
bd43f94953
1 a modificat fișierele cu 0 adăugiri și 1 ștergeri
  1. 0 1
      src/server/modules/agora/agora-token.service.ts

+ 0 - 1
src/server/modules/agora/agora-token.service.ts

@@ -8,7 +8,6 @@ export class AgoraTokenService {
 
   constructor() {
     this.appId = process.env.AGORA_APP_ID || ''
-    // this.primaryCert = process.env.AGORA_APP_SECRET || ''
     this.primaryCert = process.env.AGORA_PRIMARY_CERT || ''
     this.tokenExpiry = parseInt(process.env.AGORA_TOKEN_EXPIRY || '3600')