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 55
66 /* Application paths *****************************************/
77
8+ //Version
9+ abp . aspnetboilerplate = abp . aspnetboilerplate || { } ;
10+ abp . aspnetboilerplate . version = '8.0.0' ;
11+
812 //Current application root path (including virtual directory if exists).
913 abp . appPath = abp . appPath || '/' ;
1014 abp . pageLoadTime = new Date ( ) ;
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ var abp = abp || {};
1414 abp . signalr . increaseReconnectTime = abp . signalr . increaseReconnectTime || function ( time ) {
1515 return time * 2 ;
1616 } ;
17+ abp . signalr . withUrlOptions = abp . signalr . withUrlOptions || { } ;
1718
1819 // Configure the connection for abp.signalr.hubs.common
1920 function configureConnection ( connection ) {
@@ -101,8 +102,9 @@ var abp = abp || {};
101102
102103 return function start ( transport ) {
103104 abp . log . debug ( 'Starting connection using ' + signalR . HttpTransportType [ transport ] + ' transport' ) ;
105+ abp . signalr . withUrlOptions . transport = transport ;
104106 var connection = new signalR . HubConnectionBuilder ( )
105- . withUrl ( url , transport )
107+ . withUrl ( url , abp . signalr . withUrlOptions )
106108 . build ( ) ;
107109
108110 if ( configureConnection && typeof configureConnection === 'function' ) {
You can’t perform that action at this time.
0 commit comments