diff --git a/client.Client.html b/client.Client.html
index 4607ad56..d1d12542 100644
--- a/client.Client.html
+++ b/client.Client.html
@@ -1769,7 +1769,7 @@
Example
- Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 09:29:48 GMT+0000 (Coordinated Universal Time) using the docdash theme.
+ Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 13:15:17 GMT+0000 (Coordinated Universal Time) using the docdash theme.
diff --git a/client.Context.html b/client.Context.html
index 4c86505f..438aa133 100644
--- a/client.Context.html
+++ b/client.Context.html
@@ -998,7 +998,7 @@ (as
- Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 09:29:48 GMT+0000 (Coordinated Universal Time) using the docdash theme.
+ Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 13:15:17 GMT+0000 (Coordinated Universal Time) using the docdash theme.
diff --git a/client.ContextManager.html b/client.ContextManager.html
index cb36f803..48007c59 100644
--- a/client.ContextManager.html
+++ b/client.ContextManager.html
@@ -243,7 +243,7 @@ Parameters:
- Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 09:29:48 GMT+0000 (Coordinated Universal Time) using the docdash theme.
+ Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 13:15:17 GMT+0000 (Coordinated Universal Time) using the docdash theme.
diff --git a/client.Plugin.html b/client.Plugin.html
index 1c30a212..97f846ee 100644
--- a/client.Plugin.html
+++ b/client.Plugin.html
@@ -1628,7 +1628,7 @@ Parameters:
- Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 09:29:48 GMT+0000 (Coordinated Universal Time) using the docdash theme.
+ Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 13:15:17 GMT+0000 (Coordinated Universal Time) using the docdash theme.
diff --git a/client.PluginManager.html b/client.PluginManager.html
index 700e55b1..b8ed08ec 100644
--- a/client.PluginManager.html
+++ b/client.PluginManager.html
@@ -1096,7 +1096,7 @@ Parameters:
- Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 09:29:48 GMT+0000 (Coordinated Universal Time) using the docdash theme.
+ Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 13:15:17 GMT+0000 (Coordinated Universal Time) using the docdash theme.
diff --git a/client.SharedState.html b/client.SharedState.html
index bad6b257..d16c0988 100644
--- a/client.SharedState.html
+++ b/client.SharedState.html
@@ -2731,7 +2731,7 @@ Parameters:
- Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 09:29:48 GMT+0000 (Coordinated Universal Time) using the docdash theme.
+ Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 13:15:17 GMT+0000 (Coordinated Universal Time) using the docdash theme.
diff --git a/client.SharedStateCollection.html b/client.SharedStateCollection.html
index 91adb16b..ca26f772 100644
--- a/client.SharedStateCollection.html
+++ b/client.SharedStateCollection.html
@@ -3099,7 +3099,7 @@ Parameters:
- Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 09:29:48 GMT+0000 (Coordinated Universal Time) using the docdash theme.
+ Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 13:15:17 GMT+0000 (Coordinated Universal Time) using the docdash theme.
diff --git a/client.Socket.html b/client.Socket.html
index dca0ae24..5e169b06 100644
--- a/client.Socket.html
+++ b/client.Socket.html
@@ -117,7 +117,7 @@ Source:
@@ -328,7 +328,7 @@ addListene
Source:
@@ -493,7 +493,7 @@ Source:
@@ -578,7 +578,7 @@ rem
Source:
@@ -721,7 +721,7 @@ removeL
Source:
@@ -880,7 +880,7 @@ sendSource:
@@ -1059,7 +1059,7 @@ Parameters:
- Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 09:29:48 GMT+0000 (Coordinated Universal Time) using the docdash theme.
+ Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 13:15:17 GMT+0000 (Coordinated Universal Time) using the docdash theme.
diff --git a/client.StateManager.html b/client.StateManager.html
index 0a3a0028..8348e8d1 100644
--- a/client.StateManager.html
+++ b/client.StateManager.html
@@ -1696,7 +1696,7 @@ Parameters:
- Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 09:29:48 GMT+0000 (Coordinated Universal Time) using the docdash theme.
+ Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 13:15:17 GMT+0000 (Coordinated Universal Time) using the docdash theme.
diff --git a/client.html b/client.html
index d64e3fa3..825d5a41 100644
--- a/client.html
+++ b/client.html
@@ -776,7 +776,7 @@ Type:
- Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 09:29:48 GMT+0000 (Coordinated Universal Time) using the docdash theme.
+ Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 13:15:17 GMT+0000 (Coordinated Universal Time) using the docdash theme.
diff --git a/client_Client.js.html b/client_Client.js.html
index 469c0861..7311a5e4 100644
--- a/client_Client.js.html
+++ b/client_Client.js.html
@@ -540,7 +540,7 @@ client/Client.js
- Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 09:29:48 GMT+0000 (Coordinated Universal Time) using the docdash theme.
+ Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 13:15:17 GMT+0000 (Coordinated Universal Time) using the docdash theme.
diff --git a/client_Context.js.html b/client_Context.js.html
index 00334ce9..6aeaf47e 100644
--- a/client_Context.js.html
+++ b/client_Context.js.html
@@ -315,7 +315,7 @@ client/Context.js
- Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 09:29:48 GMT+0000 (Coordinated Universal Time) using the docdash theme.
+ Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 13:15:17 GMT+0000 (Coordinated Universal Time) using the docdash theme.
diff --git a/client_ContextManager.js.html b/client_ContextManager.js.html
index 818461ab..610c84d2 100644
--- a/client_ContextManager.js.html
+++ b/client_ContextManager.js.html
@@ -175,7 +175,7 @@ client/ContextManager.js
- Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 09:29:48 GMT+0000 (Coordinated Universal Time) using the docdash theme.
+ Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 13:15:17 GMT+0000 (Coordinated Universal Time) using the docdash theme.
diff --git a/client_Plugin.js.html b/client_Plugin.js.html
index 7cf85db9..7118744c 100644
--- a/client_Plugin.js.html
+++ b/client_Plugin.js.html
@@ -131,7 +131,7 @@ client/Plugin.js
- Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 09:29:48 GMT+0000 (Coordinated Universal Time) using the docdash theme.
+ Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 13:15:17 GMT+0000 (Coordinated Universal Time) using the docdash theme.
diff --git a/client_PluginManager.js.html b/client_PluginManager.js.html
index b3d25520..16b0686e 100644
--- a/client_PluginManager.js.html
+++ b/client_PluginManager.js.html
@@ -196,7 +196,7 @@ client/PluginManager.js
- Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 09:29:48 GMT+0000 (Coordinated Universal Time) using the docdash theme.
+ Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 13:15:17 GMT+0000 (Coordinated Universal Time) using the docdash theme.
diff --git a/client_SharedState.js.html b/client_SharedState.js.html
index 2001939c..6bc3df93 100644
--- a/client_SharedState.js.html
+++ b/client_SharedState.js.html
@@ -148,7 +148,7 @@ client/SharedState.js
- Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 09:29:48 GMT+0000 (Coordinated Universal Time) using the docdash theme.
+ Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 13:15:17 GMT+0000 (Coordinated Universal Time) using the docdash theme.
diff --git a/client_SharedStateCollection.js.html b/client_SharedStateCollection.js.html
index 9a95cc23..91b76463 100644
--- a/client_SharedStateCollection.js.html
+++ b/client_SharedStateCollection.js.html
@@ -102,7 +102,7 @@ client/SharedStateCollection.js
- Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 09:29:48 GMT+0000 (Coordinated Universal Time) using the docdash theme.
+ Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 13:15:17 GMT+0000 (Coordinated Universal Time) using the docdash theme.
diff --git a/client_Socket.js.html b/client_Socket.js.html
index a7b751fc..30c25c09 100644
--- a/client_Socket.js.html
+++ b/client_Socket.js.html
@@ -114,11 +114,11 @@ client/Socket.js
if (isBrowser()) {
const hostname = window.location.hostname;
- // if a server address is given in config, use it, else fallback to URL hostname
- if (config.env.serverAddress !== '') {
- serverAddress = config.env.serverAddress;
- } else {
+
+ if (config.env.serverAddress === '') {
serverAddress = hostname;
+ } else {
+ serverAddress = config.env.serverAddress;
}
// when in https with self-signed certificates, we don't want to use
@@ -131,12 +131,16 @@ client/Socket.js
}
if (config.env.useHttps && window.location.hostname !== serverAddress) {
- console.warn(`The WebSocket will try to connect at ${serverAddress} as defined in environment configuration while the page is accessed from ${hostname}. If you run the application with self-signed certificates, this can lead to socket errors as the certificate may not have been accepted for ${serverAddress}. In such case you should rather access the page from ${serverAddress}.`);
+ console.warn(`The WebSocket will try to connect at ${serverAddress} while the page is accessed from ${hostname}. This can lead to socket errors, e.g. If you run the application with self-signed certificates as the certificate may not have been accepted for ${serverAddress}. In such case you should rather access the page from ${serverAddress}.`);
}
webSocketOptions = [];
} else {
- serverAddress = config.env.serverAddress;
+ if (config.env.serverAddress === '') {
+ serverAddress = '127.0.0.1';
+ } else {
+ serverAddress = config.env.serverAddress;
+ }
webSocketOptions = {
rejectUnauthorized: false,
@@ -221,7 +225,7 @@ client/Socket.js
// we want to log the warning just once
if (!connectionRefusedLogged) {
logger.log('[soundworks.Socket] Connection refused, waiting for the server to start');
- console.log(e.error);
+ // console.log(e.error);
connectionRefusedLogged = true;
}
@@ -346,7 +350,7 @@ client/Socket.js
- Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 09:29:48 GMT+0000 (Coordinated Universal Time) using the docdash theme.
+ Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 13:15:17 GMT+0000 (Coordinated Universal Time) using the docdash theme.
diff --git a/client_StateManager.js.html b/client_StateManager.js.html
index b4b2b9c9..035c07dd 100644
--- a/client_StateManager.js.html
+++ b/client_StateManager.js.html
@@ -131,7 +131,7 @@ client/StateManager.js
- Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 09:29:48 GMT+0000 (Coordinated Universal Time) using the docdash theme.
+ Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 13:15:17 GMT+0000 (Coordinated Universal Time) using the docdash theme.
diff --git a/client_index.js.html b/client_index.js.html
index 65d1a502..d9c7c26d 100644
--- a/client_index.js.html
+++ b/client_index.js.html
@@ -114,7 +114,7 @@ client/index.js
- Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 09:29:48 GMT+0000 (Coordinated Universal Time) using the docdash theme.
+ Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 13:15:17 GMT+0000 (Coordinated Universal Time) using the docdash theme.
diff --git a/common_BasePlugin.js.html b/common_BasePlugin.js.html
index 276c4f1a..94e93dc9 100644
--- a/common_BasePlugin.js.html
+++ b/common_BasePlugin.js.html
@@ -237,7 +237,7 @@ common/BasePlugin.js
- Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 09:29:48 GMT+0000 (Coordinated Universal Time) using the docdash theme.
+ Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 13:15:17 GMT+0000 (Coordinated Universal Time) using the docdash theme.
diff --git a/common_BasePluginManager.js.html b/common_BasePluginManager.js.html
index 25dea40b..c92762fa 100644
--- a/common_BasePluginManager.js.html
+++ b/common_BasePluginManager.js.html
@@ -315,7 +315,7 @@ common/BasePluginManager.js
- Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 09:29:48 GMT+0000 (Coordinated Universal Time) using the docdash theme.
+ Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 13:15:17 GMT+0000 (Coordinated Universal Time) using the docdash theme.
diff --git a/common_BaseSharedState.js.html b/common_BaseSharedState.js.html
index c59d7160..38b07aaf 100644
--- a/common_BaseSharedState.js.html
+++ b/common_BaseSharedState.js.html
@@ -762,7 +762,7 @@ common/BaseSharedState.js
- Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 09:29:48 GMT+0000 (Coordinated Universal Time) using the docdash theme.
+ Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 13:15:17 GMT+0000 (Coordinated Universal Time) using the docdash theme.
diff --git a/common_BaseSharedStateCollection.js.html b/common_BaseSharedStateCollection.js.html
index 22b439a9..eeb20fed 100644
--- a/common_BaseSharedStateCollection.js.html
+++ b/common_BaseSharedStateCollection.js.html
@@ -388,7 +388,7 @@ common/BaseSharedStateCollection.js
- Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 09:29:48 GMT+0000 (Coordinated Universal Time) using the docdash theme.
+ Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 13:15:17 GMT+0000 (Coordinated Universal Time) using the docdash theme.
diff --git a/common_BaseStateManager.js.html b/common_BaseStateManager.js.html
index 9314072b..b1e88ffe 100644
--- a/common_BaseStateManager.js.html
+++ b/common_BaseStateManager.js.html
@@ -568,7 +568,7 @@ common/BaseStateManager.js
- Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 09:29:48 GMT+0000 (Coordinated Universal Time) using the docdash theme.
+ Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 13:15:17 GMT+0000 (Coordinated Universal Time) using the docdash theme.
diff --git a/common_ParameterBag.js.html b/common_ParameterBag.js.html
index caf51e53..84014cde 100644
--- a/common_ParameterBag.js.html
+++ b/common_ParameterBag.js.html
@@ -492,7 +492,7 @@ common/ParameterBag.js
- Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 09:29:48 GMT+0000 (Coordinated Universal Time) using the docdash theme.
+ Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 13:15:17 GMT+0000 (Coordinated Universal Time) using the docdash theme.
diff --git a/common_SharedStatePrivate.js.html b/common_SharedStatePrivate.js.html
index 8e9888e5..54b83c42 100644
--- a/common_SharedStatePrivate.js.html
+++ b/common_SharedStatePrivate.js.html
@@ -297,7 +297,7 @@ common/SharedStatePrivate.js
- Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 09:29:48 GMT+0000 (Coordinated Universal Time) using the docdash theme.
+ Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 13:15:17 GMT+0000 (Coordinated Universal Time) using the docdash theme.
diff --git a/global.html b/global.html
index 4cfc430d..2a1a2c8f 100644
--- a/global.html
+++ b/global.html
@@ -313,7 +313,7 @@ Parameters:
- Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 09:29:48 GMT+0000 (Coordinated Universal Time) using the docdash theme.
+ Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 13:15:17 GMT+0000 (Coordinated Universal Time) using the docdash theme.
diff --git a/index.html b/index.html
index bbd26fbe..f0a573a7 100644
--- a/index.html
+++ b/index.html
@@ -98,7 +98,7 @@ Other Links
- Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 09:29:48 GMT+0000 (Coordinated Universal Time) using the docdash theme.
+ Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 13:15:17 GMT+0000 (Coordinated Universal Time) using the docdash theme.
diff --git a/server.Client.html b/server.Client.html
index 87ddc8d5..80c294a5 100644
--- a/server.Client.html
+++ b/server.Client.html
@@ -417,7 +417,7 @@ Type:
- Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 09:29:48 GMT+0000 (Coordinated Universal Time) using the docdash theme.
+ Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 13:15:17 GMT+0000 (Coordinated Universal Time) using the docdash theme.
diff --git a/server.Context.html b/server.Context.html
index bfbaaab6..f028038c 100644
--- a/server.Context.html
+++ b/server.Context.html
@@ -1261,7 +1261,7 @@ (as
- Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 09:29:48 GMT+0000 (Coordinated Universal Time) using the docdash theme.
+ Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 13:15:17 GMT+0000 (Coordinated Universal Time) using the docdash theme.
diff --git a/server.ContextManager.html b/server.ContextManager.html
index d69cc51e..e7e68cdf 100644
--- a/server.ContextManager.html
+++ b/server.ContextManager.html
@@ -243,7 +243,7 @@ Parameters:
- Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 09:29:48 GMT+0000 (Coordinated Universal Time) using the docdash theme.
+ Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 13:15:17 GMT+0000 (Coordinated Universal Time) using the docdash theme.
diff --git a/server.Plugin.html b/server.Plugin.html
index f81071bd..62d9fa15 100644
--- a/server.Plugin.html
+++ b/server.Plugin.html
@@ -1987,7 +1987,7 @@ Parameters:
- Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 09:29:48 GMT+0000 (Coordinated Universal Time) using the docdash theme.
+ Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 13:15:17 GMT+0000 (Coordinated Universal Time) using the docdash theme.
diff --git a/server.PluginManager.html b/server.PluginManager.html
index c5e64d80..fd621e7d 100644
--- a/server.PluginManager.html
+++ b/server.PluginManager.html
@@ -1180,7 +1180,7 @@ Parameters:
- Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 09:29:48 GMT+0000 (Coordinated Universal Time) using the docdash theme.
+ Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 13:15:17 GMT+0000 (Coordinated Universal Time) using the docdash theme.
diff --git a/server.Server.html b/server.Server.html
index 2bac1869..e9ffc1a6 100644
--- a/server.Server.html
+++ b/server.Server.html
@@ -348,7 +348,7 @@ Example
env: {
type: 'development',
port: 8000,
- serverAddress: null,
+ serverAddress: '',
subpath: '',
websockets: {
path: 'socket',
@@ -384,7 +384,7 @@ context
Source:
@@ -469,7 +469,7 @@ httpServer<
Source:
@@ -546,7 +546,7 @@ httpsInfos<
Source:
@@ -614,7 +614,7 @@ (r
Source:
@@ -692,7 +692,7 @@ pluginMa
Source:
@@ -779,7 +779,7 @@ routerSource:
@@ -867,7 +867,7 @@ socketsSource:
@@ -952,7 +952,7 @@ stateMana
Source:
@@ -1037,7 +1037,7 @@ statusSource:
@@ -1129,7 +1129,7 @@ Source:
@@ -1271,7 +1271,7 @@ (as
Source:
@@ -1367,7 +1367,7 @@ isTrus
Source:
@@ -1522,7 +1522,7 @@ isTrust
Source:
@@ -1727,7 +1727,7 @@ Source:
@@ -1822,7 +1822,7 @@ (a
Source:
@@ -1919,7 +1919,7 @@ (as
Source:
@@ -2031,7 +2031,7 @@ Source:
@@ -2115,7 +2115,7 @@
- Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 09:29:48 GMT+0000 (Coordinated Universal Time) using the docdash theme.
+ Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 13:15:17 GMT+0000 (Coordinated Universal Time) using the docdash theme.
diff --git a/server.SharedState.html b/server.SharedState.html
index ef6e80da..d30ca370 100644
--- a/server.SharedState.html
+++ b/server.SharedState.html
@@ -2731,7 +2731,7 @@ Parameters:
- Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 09:29:48 GMT+0000 (Coordinated Universal Time) using the docdash theme.
+ Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 13:15:17 GMT+0000 (Coordinated Universal Time) using the docdash theme.
diff --git a/server.SharedStateCollection.html b/server.SharedStateCollection.html
index 35b1e77b..363192af 100644
--- a/server.SharedStateCollection.html
+++ b/server.SharedStateCollection.html
@@ -3099,7 +3099,7 @@ Parameters:
- Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 09:29:48 GMT+0000 (Coordinated Universal Time) using the docdash theme.
+ Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 13:15:17 GMT+0000 (Coordinated Universal Time) using the docdash theme.
diff --git a/server.Socket.html b/server.Socket.html
index a773b535..eaa38eb8 100644
--- a/server.Socket.html
+++ b/server.Socket.html
@@ -1385,7 +1385,7 @@ Parameters:
- Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 09:29:48 GMT+0000 (Coordinated Universal Time) using the docdash theme.
+ Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 13:15:17 GMT+0000 (Coordinated Universal Time) using the docdash theme.
diff --git a/server.Sockets.html b/server.Sockets.html
index da5b2180..413c1155 100644
--- a/server.Sockets.html
+++ b/server.Sockets.html
@@ -851,7 +851,7 @@ Parameters:
- Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 09:29:48 GMT+0000 (Coordinated Universal Time) using the docdash theme.
+ Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 13:15:17 GMT+0000 (Coordinated Universal Time) using the docdash theme.
diff --git a/server.StateManager.html b/server.StateManager.html
index e28056b0..dad30865 100644
--- a/server.StateManager.html
+++ b/server.StateManager.html
@@ -5109,7 +5109,7 @@ Returns:
- Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 09:29:48 GMT+0000 (Coordinated Universal Time) using the docdash theme.
+ Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 13:15:17 GMT+0000 (Coordinated Universal Time) using the docdash theme.
diff --git a/server.html b/server.html
index 2f5a8d72..8822e0ca 100644
--- a/server.html
+++ b/server.html
@@ -802,7 +802,7 @@ Type:
- Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 09:29:48 GMT+0000 (Coordinated Universal Time) using the docdash theme.
+ Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 13:15:17 GMT+0000 (Coordinated Universal Time) using the docdash theme.
diff --git a/server_Client.js.html b/server_Client.js.html
index 209f24b1..6ec596eb 100644
--- a/server_Client.js.html
+++ b/server_Client.js.html
@@ -119,7 +119,7 @@ server/Client.js
- Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 09:29:48 GMT+0000 (Coordinated Universal Time) using the docdash theme.
+ Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 13:15:17 GMT+0000 (Coordinated Universal Time) using the docdash theme.
diff --git a/server_Context.js.html b/server_Context.js.html
index 599310e6..df3bb555 100644
--- a/server_Context.js.html
+++ b/server_Context.js.html
@@ -307,7 +307,7 @@ server/Context.js
- Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 09:29:48 GMT+0000 (Coordinated Universal Time) using the docdash theme.
+ Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 13:15:17 GMT+0000 (Coordinated Universal Time) using the docdash theme.
diff --git a/server_ContextManager.js.html b/server_ContextManager.js.html
index e64b4276..32371c4b 100644
--- a/server_ContextManager.js.html
+++ b/server_ContextManager.js.html
@@ -329,7 +329,7 @@ server/ContextManager.js
- Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 09:29:48 GMT+0000 (Coordinated Universal Time) using the docdash theme.
+ Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 13:15:17 GMT+0000 (Coordinated Universal Time) using the docdash theme.
diff --git a/server_Plugin.js.html b/server_Plugin.js.html
index bea01b97..7275c9ac 100644
--- a/server_Plugin.js.html
+++ b/server_Plugin.js.html
@@ -154,7 +154,7 @@ server/Plugin.js
- Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 09:29:48 GMT+0000 (Coordinated Universal Time) using the docdash theme.
+ Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 13:15:17 GMT+0000 (Coordinated Universal Time) using the docdash theme.
diff --git a/server_PluginManager.js.html b/server_PluginManager.js.html
index b44c6bde..52a8116a 100644
--- a/server_PluginManager.js.html
+++ b/server_PluginManager.js.html
@@ -234,7 +234,7 @@ server/PluginManager.js
- Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 09:29:48 GMT+0000 (Coordinated Universal Time) using the docdash theme.
+ Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 13:15:17 GMT+0000 (Coordinated Universal Time) using the docdash theme.
diff --git a/server_Server.js.html b/server_Server.js.html
index d5a01972..f1721cd2 100644
--- a/server_Server.js.html
+++ b/server_Server.js.html
@@ -127,7 +127,7 @@ server/Server.js
env: {
type: 'development',
port: 8000,
- serverAddress: null,
+ serverAddress: '',
subpath: '',
websockets: {
path: 'socket',
@@ -215,7 +215,7 @@ server/Server.js
* env: {
* type: 'development',
* port: 8000,
- * serverAddress: null,
+ * serverAddress: '',
* subpath: '',
* websockets: {
* path: 'socket',
@@ -239,16 +239,12 @@ server/Server.js
throw new Error(`[soundworks:Server] Invalid "app.clients" config, at least one client should be declared`);
}
- // if a node client is defined, serverAddress should be defined
- let hasNodeClient = false;
- for (let name in this.config.app.clients) {
- if (this.config.app.clients[name].target === 'node') {
- hasNodeClient = true;
- }
- }
-
- if (hasNodeClient && this.config.env.serverAddress === null) {
- throw new Error(`[soundworks:Server] Invalid "env.serverAddress" config, is mandatory when a node client target is defined`);
+ // @peeka - remove
+ // [2024-05-29] Override default `config.env.serverAddress`` provided from
+ // template `loadConfig` to '' so that browser clients can default to
+ // window.location.hostname and node clients to `127.0.0.1`
+ if (process.env.ENV === undefined && this.config.env.serverAddress === '127.0.0.1') {
+ this.config.env.serverAddress = '';
}
if (this.config.env.useHttps && this.config.env.httpsInfos !== null) {
@@ -1250,7 +1246,7 @@ server/Server.js
- Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 09:29:48 GMT+0000 (Coordinated Universal Time) using the docdash theme.
+ Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 13:15:17 GMT+0000 (Coordinated Universal Time) using the docdash theme.
diff --git a/server_SharedState.js.html b/server_SharedState.js.html
index 707fc2d3..d66c1ca3 100644
--- a/server_SharedState.js.html
+++ b/server_SharedState.js.html
@@ -149,7 +149,7 @@ server/SharedState.js
- Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 09:29:48 GMT+0000 (Coordinated Universal Time) using the docdash theme.
+ Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 13:15:17 GMT+0000 (Coordinated Universal Time) using the docdash theme.
diff --git a/server_SharedStateCollection.js.html b/server_SharedStateCollection.js.html
index 18affb6c..e81bbddd 100644
--- a/server_SharedStateCollection.js.html
+++ b/server_SharedStateCollection.js.html
@@ -103,7 +103,7 @@ server/SharedStateCollection.js
- Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 09:29:48 GMT+0000 (Coordinated Universal Time) using the docdash theme.
+ Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 13:15:17 GMT+0000 (Coordinated Universal Time) using the docdash theme.
diff --git a/server_Socket.js.html b/server_Socket.js.html
index cd815966..f9da7670 100644
--- a/server_Socket.js.html
+++ b/server_Socket.js.html
@@ -342,7 +342,7 @@ server/Socket.js
- Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 09:29:48 GMT+0000 (Coordinated Universal Time) using the docdash theme.
+ Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 13:15:17 GMT+0000 (Coordinated Universal Time) using the docdash theme.
diff --git a/server_Sockets.js.html b/server_Sockets.js.html
index d92cdf43..23543adc 100644
--- a/server_Sockets.js.html
+++ b/server_Sockets.js.html
@@ -265,7 +265,7 @@ server/Sockets.js
- Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 09:29:48 GMT+0000 (Coordinated Universal Time) using the docdash theme.
+ Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 13:15:17 GMT+0000 (Coordinated Universal Time) using the docdash theme.
diff --git a/server_StateManager.js.html b/server_StateManager.js.html
index f16cab68..6040bee4 100644
--- a/server_StateManager.js.html
+++ b/server_StateManager.js.html
@@ -760,7 +760,7 @@ server/StateManager.js
- Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 09:29:48 GMT+0000 (Coordinated Universal Time) using the docdash theme.
+ Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 13:15:17 GMT+0000 (Coordinated Universal Time) using the docdash theme.
diff --git a/server_audit-schema.js.html b/server_audit-schema.js.html
index b56a85c6..1fbaf8a0 100644
--- a/server_audit-schema.js.html
+++ b/server_audit-schema.js.html
@@ -106,7 +106,7 @@ server/audit-schema.js
- Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 09:29:48 GMT+0000 (Coordinated Universal Time) using the docdash theme.
+ Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 13:15:17 GMT+0000 (Coordinated Universal Time) using the docdash theme.
diff --git a/server_index.js.html b/server_index.js.html
index 91dbefef..e1069024 100644
--- a/server_index.js.html
+++ b/server_index.js.html
@@ -95,7 +95,7 @@ server/index.js
- Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 09:29:48 GMT+0000 (Coordinated Universal Time) using the docdash theme.
+ Documentation generated by JSDoc 4.0.3 on Wed May 29 2024 13:15:17 GMT+0000 (Coordinated Universal Time) using the docdash theme.