Skip to content

Commit

Permalink
bug fix javascript
Browse files Browse the repository at this point in the history
  • Loading branch information
trafficpest committed Apr 22, 2023
1 parent 64acfdc commit 22f93e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/js/invoice.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function stopTimer(){
}

if(typeof(EventSource) !== "undefined" ) {
var source = new EventSource( path_to_root + "assets/sse/pay-status.php"
var source = new EventSource( path_to_root + "/assets/sse/pay-status.php"
+ "?invoiceId=" + invoiceId );
source.onmessage = function(event) {
if (event.data == 'PAID'){
Expand Down

0 comments on commit 22f93e2

Please sign in to comment.