Browse Source

[完善]signalr打包地址

dev
邵佳豪 3 years ago
parent
commit
53ecb555b6
  1. 4
      src/shared/helpers/SignalRAspNetCoreHelper.ts

4
src/shared/helpers/SignalRAspNetCoreHelper.ts

@ -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,

Loading…
Cancel
Save