@frumu/tandem-panel 0.4.10 → 0.4.12
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/setup.js +3 -3
- package/dist/assets/{index-EGEu-G8H.js → index-ekgYKmmV.js} +36 -36
- package/dist/index.html +1 -1
- package/lib/setup/common.js +15 -1
- package/lib/setup/doctor.js +2 -1
- package/package.json +3 -3
package/bin/setup.js
CHANGED
|
@@ -951,7 +951,7 @@ function isLocalEngineUrl(url) {
|
|
|
951
951
|
try {
|
|
952
952
|
const u = new URL(url);
|
|
953
953
|
const h = (u.hostname || "").toLowerCase();
|
|
954
|
-
return h === "localhost" || h === "
|
|
954
|
+
return h === "localhost" || h === "::1" || h.startsWith("127.");
|
|
955
955
|
} catch {
|
|
956
956
|
return false;
|
|
957
957
|
}
|
|
@@ -4705,8 +4705,8 @@ async function main() {
|
|
|
4705
4705
|
|
|
4706
4706
|
server.listen(PORTAL_PORT, PANEL_HOST, () => {
|
|
4707
4707
|
log("=========================================");
|
|
4708
|
-
log(`Control Panel: http://${PANEL_HOST}:${PORTAL_PORT}`);
|
|
4709
|
-
if (PANEL_PUBLIC_URL) log(`
|
|
4708
|
+
log(`Control Panel: ${PANEL_PUBLIC_URL || `http://${PANEL_HOST}:${PORTAL_PORT}`}`);
|
|
4709
|
+
if (PANEL_PUBLIC_URL) log(`Bind address: http://${PANEL_HOST}:${PORTAL_PORT}`);
|
|
4710
4710
|
log(`Engine URL: ${ENGINE_URL}`);
|
|
4711
4711
|
log(`Engine mode: ${isLocalEngineUrl(ENGINE_URL) ? "local" : "remote"}`);
|
|
4712
4712
|
log(`Files root: ${FILES_ROOT}`);
|