Use secure web socket address for ble and bt connection (#1359)

This commit is contained in:
Eric Rosenbaum 2018-07-17 15:40:47 -04:00 committed by GitHub
parent 0776845a94
commit 1dcdfc9548
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
const JSONRPCWebSocket = require('../util/jsonrpc-web-socket'); const JSONRPCWebSocket = require('../util/jsonrpc-web-socket');
const log = require('../util/log'); const log = require('../util/log');
const ScratchLinkWebSocket = 'ws://localhost:20110/scratch/ble'; const ScratchLinkWebSocket = 'wss://device-manager.scratch.mit.edu:20110/scratch/ble';
class BLESession extends JSONRPCWebSocket { class BLESession extends JSONRPCWebSocket {

View file

@ -1,6 +1,6 @@
const JSONRPCWebSocket = require('../util/jsonrpc-web-socket'); const JSONRPCWebSocket = require('../util/jsonrpc-web-socket');
const log = require('../util/log'); const log = require('../util/log');
const ScratchLinkWebSocket = 'ws://localhost:20110/scratch/bt'; const ScratchLinkWebSocket = 'wss://device-manager.scratch.mit.edu:20110/scratch/bt';
class BTSession extends JSONRPCWebSocket { class BTSession extends JSONRPCWebSocket {