seimin hace 1 año
padre
commit
38b97bf3ad

+ 1 - 1
src/app/views/call-log/call-log.component.html

@@ -90,7 +90,7 @@
90 90
       </div>
91 91
       <div class="content audio">
92 92
         <audio controls style="outline: none;">
93
-          <source [src]="'http://'+audioPath" type="audio/wav">
93
+          <source [src]="audioPath" type="audio/wav">
94 94
         </audio>
95 95
       </div>
96 96
       <div class=" display_flex justify-content_flex-center">

+ 1 - 1
src/app/views/call-log/call-log.component.ts

@@ -105,7 +105,7 @@ export class CallLogComponent implements OnInit {
105 105
       this.maskFlag = false;
106 106
       this.modal = true;
107 107
       if (result["state"] == 200) {
108
-        this.audioPath = result["path"];
108
+        this.audioPath = location.origin + result["relativePath"];
109 109
       }
110 110
     });
111 111
   }