mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-12-04 06:49:13 +08:00
Prettified Code!
This commit is contained in:
1 parent
2cca012ad8
commit
7a084eaf62
1 file changed
+1
-1
@@ -23,7 +23,7 @@ function getParam(param_name) {
|
|||||||
|
|
||||||
function getWebsocketEndpoint() {
|
function getWebsocketEndpoint() {
|
||||||
const endpoint = getParam('websocket_url');
|
const endpoint = getParam('websocket_url');
|
||||||
console.log("websocket url: ", endpoint);
|
console.log('websocket url: ', endpoint);
|
||||||
if (endpoint === undefined) {
|
if (endpoint === undefined) {
|
||||||
const message =
|
const message =
|
||||||
'Please set the websocket endpoint. The format should look like "<viewer_url>?websocket_url=localhost:<port>". E.g., "https://viewer.nerfactory.com/branch/master/?websocket_url=localhost:7007".';
|
'Please set the websocket endpoint. The format should look like "<viewer_url>?websocket_url=localhost:<port>". E.g., "https://viewer.nerfactory.com/branch/master/?websocket_url=localhost:7007".';
|
||||||
|
|||||||
Reference in new issue
Block a user