1
0
mirror of https://github.com/pavlobu/deskreen.git synced 2025-05-16 07:20:16 -07:00
deskreen/app/api/config.ts
2021-01-17 23:45:59 +02:00

18 lines
252 B
TypeScript

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