File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 5
5
6
6
/* Application paths *****************************************/
7
7
8
+ //Version
9
+ abp . aspnetboilerplate = abp . aspnetboilerplate || { } ;
10
+ abp . aspnetboilerplate . version = '8.0.0' ;
11
+
8
12
//Current application root path (including virtual directory if exists).
9
13
abp . appPath = abp . appPath || '/' ;
10
14
abp . pageLoadTime = new Date ( ) ;
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ var abp = abp || {};
14
14
abp . signalr . increaseReconnectTime = abp . signalr . increaseReconnectTime || function ( time ) {
15
15
return time * 2 ;
16
16
} ;
17
+ abp . signalr . withUrlOptions = abp . signalr . withUrlOptions || { } ;
17
18
18
19
// Configure the connection for abp.signalr.hubs.common
19
20
function configureConnection ( connection ) {
@@ -101,8 +102,9 @@ var abp = abp || {};
101
102
102
103
return function start ( transport ) {
103
104
abp . log . debug ( 'Starting connection using ' + signalR . HttpTransportType [ transport ] + ' transport' ) ;
105
+ abp . signalr . withUrlOptions . transport = transport ;
104
106
var connection = new signalR . HubConnectionBuilder ( )
105
- . withUrl ( url , transport )
107
+ . withUrl ( url , abp . signalr . withUrlOptions )
106
108
. build ( ) ;
107
109
108
110
if ( configureConnection && typeof configureConnection === 'function' ) {
You can’t perform that action at this time.
0 commit comments