pcrockett / mollysocket-fly

Get Signal push notifications without Google Play Services, and without killing your phone's battery.
GNU Affero General Public License v3.0
11 stars 14 forks source link

disable unneeded webserver #9

Closed pcrockett closed 6 months ago

pcrockett commented 6 months ago

When doing mollysocket test uuid jsjs-jsjsxxx it shows config{ ...... webserver: true; ..} But this project's readme says it isn't exposed as a webserver. Should it be changed to false?

Originally posted by @jayb-g in https://github.com/pcrockett/mollysocket-fly/issues/6#issuecomment-2092443173

pcrockett commented 6 months ago

good catch.

for what it's worth, the listen address is 127.0.0.1, so the webserver can only be accessed by local processes; it's not exposed to the network.

that said, there's no reason for it to run that i can think of, and it turns out we can turn it off via an environment variable: https://github.com/mollyim/mollysocket/tree/1.3.0?tab=readme-ov-file#configuration