Skip to content

Commit

Permalink
url might not be set
Browse files Browse the repository at this point in the history
  • Loading branch information
awick committed Oct 19, 2023
1 parent 2ea52d1 commit a2bede4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion viewer/decode.js
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,7 @@ class ItemHTTPStream extends ItemTransform {

const info = {
bodyNum: ++this.bodyNum,
bodyName: this.url.split(/[/?=]/).pop(),
bodyName: this.url?.split(/[/?=]/).pop(),
bodyType: 'file',
itemPos: ++this.itemPos
};
Expand Down

0 comments on commit a2bede4

Please sign in to comment.