Skip to content
Snippets Groups Projects

Heroku working

Merged Diego Javier Rodriguez Uranga requested to merge dja_heroku_11_7_2024 into dja
9 files
+ 285
8480
Compare changes
  • Side-by-side
  • Inline
Files
9
import { Injectable, NgZone } from "@angular/core";
import * as ActionCable from "actioncable";
import { GHCI_URL } from "../config";
@Injectable({
providedIn: "root",
@@ -13,7 +14,8 @@ export class ActionCableService {
const client = localStorage.getItem("client");
this.consumer = ActionCable.createConsumer(
`ws://localhost:3000/cable?uid=${uid}&access-token=${accessToken}&client=${client}`
`${GHCI_URL}?uid=${uid}&access-token=${accessToken}&client=${client}`
);
}
}
``;
Loading