Skip to content

Commit fc0e857

Browse files
931547: modified Code snippet for URL
1 parent 8393a1a commit fc0e857

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

How to/Load PDF from Base64 in ngOnInit/Angular Client/src/app/app.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export class AppComponent implements OnInit {
4040

4141
async fetchBase64FromURL(url: string) {
4242
const requestBody = {
43-
data: 'https://cdn.syncfusion.com/content/pdf/form-filling-document.pdf'
43+
data: url
4444
};
4545

4646
this.http.post('https://localhost:7237/pdfviewer/LoadPdf', requestBody)

0 commit comments

Comments
 (0)