Skip to content

Commit a4a6a32

Browse files
committed
Modify the SignalR script loading method.
1 parent 4fac08f commit a4a6a32

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

angular/src/shared/helpers/SignalRAspNetCoreHelper.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ export class SignalRAspNetCoreHelper {
1616
url: '/signalr'
1717
};
1818

19-
jQuery.getScript(AppConsts.appBaseUrl + '/assets/abp/abp.signalr-client.js');
19+
const script = document.createElement('script');
20+
script.src = AppConsts.appBaseUrl + '/assets/abp/abp.signalr-client.js';
21+
document.head.appendChild(script);
2022
}
2123
}

0 commit comments

Comments
 (0)