File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,8 @@ class SignalRAspNetCoreHelper {
1212 connect : undefined ,
1313 hubs : undefined ,
1414 qs : AppConsts . authorization . encrptedAuthTokenName + '=' + encodeURIComponent ( encryptedAuthToken ) ,
15- url : AppConsts . remoteServiceBaseUrl + '/signalr' ,
15+ remoteServiceBaseUrl : AppConsts . remoteServiceBaseUrl ,
16+ url : '/signalr'
1617 } ;
1718
1819 Util . loadScript ( AppConsts . appBaseUrl + '/dist/abp.signalr-client.js' ) ;
Original file line number Diff line number Diff line change @@ -3,13 +3,13 @@ import Util from './util'
33class SignalRAspNetCoreHelper {
44 initSignalR ( ) {
55 var encryptedAuthToken = Util . abp . utils . getCookieValue ( AppConsts . authorization . encrptedAuthTokenName ) ;
6- let remoteServerUrl = AppConsts . remoteServiceBaseUrl ;
76 Util . abp . signalr = {
87 autoConnect : true ,
98 connect : undefined ,
109 hubs : undefined ,
1110 qs : AppConsts . authorization . encrptedAuthTokenName + "=" + encodeURIComponent ( encryptedAuthToken ) ,
12- remoteServiceBaseUrl : remoteServerUrl . endsWith ( '/' ) ? remoteServerUrl . slice ( 0 , - 1 ) : remoteServerUrl
11+ remoteServiceBaseUrl : AppConsts . remoteServiceBaseUrl ,
12+ url : 'signalr'
1313 } ;
1414
1515 Util . loadScript ( AppConsts . appBaseUrl + '/dist/abp.signalr-client.js' ) ;
You can’t perform that action at this time.
0 commit comments