hytopia 0.10.45 → 0.10.46
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/scripts.js +1 -0
- package/package.json +1 -1
- package/server.mjs +71 -71
package/bin/scripts.js
CHANGED
|
@@ -524,6 +524,7 @@ function checkHostsConfiguration(verbose = false) {
|
|
|
524
524
|
try {
|
|
525
525
|
fs.writeFileSync(hostsPath, newContent, { encoding: 'utf8' });
|
|
526
526
|
console.log(`✅ Hosts updated: ${DOMAIN} -> 127.0.0.1, ::1`);
|
|
527
|
+
console.log(`🎉 You can now run your server with 'hytopia start' - While running, you can test & play it at: https://hytopia.com/play`);
|
|
527
528
|
} catch {
|
|
528
529
|
console.error(`🚨 Could not modify hosts file (${hostsPath}) to add the dev-local.hytopia.com. You MUST run 'sudo hytopia update-hosts' to fix connections to your local server.`);
|
|
529
530
|
}
|
package/package.json
CHANGED