web & api: rename stream to tunnel
- updated the endpoint to /tunnel - updated status to tunnel - fixed one incorrectly named error in web
This commit is contained in:
@@ -53,7 +53,7 @@ export function createStream(obj) {
|
||||
encryptStream(streamData, iv, secret)
|
||||
)
|
||||
|
||||
let streamLink = new URL('/stream', env.apiURL);
|
||||
let streamLink = new URL('/tunnel', env.apiURL);
|
||||
|
||||
const params = {
|
||||
'id': streamID,
|
||||
@@ -103,7 +103,7 @@ export function createInternalStream(url, obj = {}) {
|
||||
dispatcher
|
||||
};
|
||||
|
||||
let streamLink = new URL('/istream', `http://127.0.0.1:${env.apiPort}`);
|
||||
let streamLink = new URL('/itunnel', `http://127.0.0.1:${env.apiPort}`);
|
||||
streamLink.searchParams.set('id', streamID);
|
||||
|
||||
const cleanup = () => {
|
||||
|
||||
Reference in New Issue
Block a user