Skip to content

Instantly share code, notes, and snippets.

@djismgaming
Last active January 14, 2022 15:30
Show Gist options
  • Select an option

  • Save djismgaming/32e5063f217bfe7cf5f1dd3dfc36245e to your computer and use it in GitHub Desktop.

Select an option

Save djismgaming/32e5063f217bfe7cf5f1dd3dfc36245e to your computer and use it in GitHub Desktop.
#!/bin/sh
#sed -i 's/peer.ip/0/g' server/index.js
#sed -i 's/sender.ip/0/g' server/index.js
# make the snapdrop clients be all in a single room
# USE WITH CARE
# Will make it so even local and internet clients see each other
# A literal single room
# USE WITH CARE
# adjusted for linuxserver/snapdrop docker image
sed -i 's/peer.ip/0/g' /app/snapdrop/server/index.js
sed -i 's/sender.ip/0/g' /app/snapdrop/server/index.js
echo "Please restart container snapdrop"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment