Skip to content

Commit aa02f32

Browse files
committed
resolved #17
1 parent 81979a7 commit aa02f32

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Abp/Framework/scripts/libs/abp.signalr-client.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ var abp = abp || {};
4141

4242
// Connect to the server
4343
abp.signalr.connect = function () {
44-
var url = abp.signalr.url || '/signalr';
44+
var url = abp.signalr.url || (abp.appPath + 'signalr');
4545

4646
// Start the connection.
4747
startConnection(url, configureConnection)
@@ -75,7 +75,7 @@ var abp = abp || {};
7575
return function start(transport) {
7676
abp.log.debug('Starting connection using ' + signalR.HttpTransportType[transport] + ' transport');
7777
var connection = new signalR.HubConnectionBuilder()
78-
.withUrl(abp.appPath + url, transport)
78+
.withUrl(url, transport)
7979
.build();
8080
if (configureConnection && typeof configureConnection === 'function') {
8181
configureConnection(connection);

0 commit comments

Comments
 (0)