1
0
mirror of https://github.com/pavlobu/deskreen.git synced 2025-05-16 15:30:20 -07:00
deskreen/app/api/config.ts
Pavlo Buidenkov a3996c7a76 added darkwire.io server and app/client
add client test works
2020-08-30 16:49:23 +03:00

17 lines
251 B
TypeScript

/* istanbul ignore file */
let host;
let protocol;
let port;
if (!host && !protocol && !port) {
host = 'localhost';
protocol = 'http';
port = 3131; // TODO: read port from signaling server api
}
export default {
host,
port,
protocol,
};