Skip to content

Commit d13ff4e

Browse files
committed
fix(llonebot-js): update default host configuration
- Change default host binding from "127.0.0.1" to "" (all interfaces) - Replace onlyLocalhost configuration with explicit host setting - Allow llonebot-js to accept connections from remote hosts by default
1 parent c80128b commit d13ff4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package/llonebot-js.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ pkgs.stdenv.mkDerivation rec {
2121
installPhase = ''
2222
mkdir -p $out
2323
mv js $out/js
24-
sed -i 's|"onlyLocalhost": true|"onlyLocalhost": false|' $out/js/default_config.json
24+
sed -i 's|"host": "127.0.0.1"|"host": ""|' $out/js/default_config.json
2525
'';
2626

2727
meta = with lib; {

0 commit comments

Comments
 (0)