@mcpjam/inspector 1.0.8 → 1.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/start.js +3 -3
- package/dist/client/assets/index-DnqKdYct.js +1875 -0
- package/dist/client/assets/{index-BM_pWNid.css → index-rt9IYzHW.css} +1 -1
- package/dist/client/index.html +2 -2
- package/dist/server/index.js +4 -4
- package/dist/server/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/client/assets/index-DzmPRJya.js +0 -1875
package/bin/start.js
CHANGED
|
@@ -342,7 +342,7 @@ async function main() {
|
|
|
342
342
|
envVars.PORT = port;
|
|
343
343
|
// Default: localhost in development, 127.0.0.1 in production
|
|
344
344
|
const defaultHost =
|
|
345
|
-
process.env.
|
|
345
|
+
process.env.ENVIRONMENT === "dev" ? "localhost" : "127.0.0.1";
|
|
346
346
|
const baseHost = process.env.HOST || defaultHost;
|
|
347
347
|
envVars.BASE_URL = `http://${baseHost}:${port}`;
|
|
348
348
|
continue;
|
|
@@ -532,7 +532,7 @@ async function main() {
|
|
|
532
532
|
envVars.PORT = PORT;
|
|
533
533
|
// Default: localhost in development, 127.0.0.1 in production
|
|
534
534
|
const defaultHost =
|
|
535
|
-
process.env.
|
|
535
|
+
process.env.ENVIRONMENT === "dev" ? "localhost" : "127.0.0.1";
|
|
536
536
|
const baseHost = process.env.HOST || defaultHost;
|
|
537
537
|
envVars.BASE_URL = `http://${baseHost}:${PORT}`;
|
|
538
538
|
Object.assign(process.env, envVars);
|
|
@@ -619,7 +619,7 @@ async function main() {
|
|
|
619
619
|
// Use BASE_URL if set, otherwise construct from HOST and PORT
|
|
620
620
|
// Default: localhost in development, 127.0.0.1 in production
|
|
621
621
|
const defaultHost =
|
|
622
|
-
process.env.ENVIRONMENT === "
|
|
622
|
+
process.env.ENVIRONMENT === "dev" ? "localhost" : "127.0.0.1";
|
|
623
623
|
const host = process.env.HOST || defaultHost;
|
|
624
624
|
const url = process.env.BASE_URL || `http://${host}:${PORT}`;
|
|
625
625
|
|