Skip to content

Commit

Permalink
Merge pull request #241 from ant-media/fix-extra-http
Browse files Browse the repository at this point in the history
Remove extra protocol when copying VoD URL
  • Loading branch information
mekya committed Jan 12, 2024
2 parents fbe86a1 + 8fe3d1c commit 677b9db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/app.page/app.page.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -914,7 +914,7 @@ export class AppPageComponent implements OnInit, OnDestroy, AfterViewInit {
}

copyVoDUrl(filePath: string) {
var srcFile = location.protocol + HTTP_SERVER_ROOT + this.appName + "/" + filePath;
var srcFile = HTTP_SERVER_ROOT + this.appName + "/" + filePath;

this.clipBoardService.copyFromContent(srcFile);
$.notify({
Expand Down

0 comments on commit 677b9db

Please sign in to comment.