|
|
|
@ -2,7 +2,9 @@ declare var abp: any
|
|
|
|
|
export class SignalRAspNetCoreHelper { |
|
|
|
|
static initSignalR(callback?: () => void): void { |
|
|
|
|
const encryptedAuthToken = sessionStorage.getItem("encryptedAccessToken"); |
|
|
|
|
let url = "http://39.106.78.171:8906"; |
|
|
|
|
console.log('window.location.origin',window.location.origin) |
|
|
|
|
// let url = "http://39.106.78.171:8906";
|
|
|
|
|
let url = window.location.origin |
|
|
|
|
abp.signalr = { |
|
|
|
|
autoConnect: true, |
|
|
|
|
connect: undefined, |
|
|
|
|