set remote IP
This commit is contained in:
@@ -11,7 +11,7 @@ export class ClientStateService {
|
||||
private canvasState: CanvasState = { strokes: [] }
|
||||
|
||||
async connect(drawService: ClientDrawService) {
|
||||
const sock = await new RPCSocket(8080, 'localhost').connect();
|
||||
const sock = await new RPCSocket(8080, '95.216.156.135').connect();
|
||||
this.remoteService = sock['StateService']
|
||||
this.canvasState = await this.getState()
|
||||
await this.remoteService.onStroke((s: StrokeStreamElement) => {
|
||||
|
||||
Reference in New Issue
Block a user