~ekez/discord-notifier

cd78ede022c64e85e5b66df38ad300c4796a81aa — Zeke Medley 5 days ago df17a3f
Add instructions for running without self hosting
2 files changed, 12 insertions(+), 1 deletions(-)

M README
M server/src/states.js
M README => README +11 -0
@@ 19,6 19,17 @@ The reccomended setup is to run this software on your syslogs server
so that notifications will be sent for logins on all machines
involved.

## Using the install script

If you would just like to install a discord-notifier on a machine that
you run you can use the install script in
`/client/install.sh`. Running `sudo bash install.ssh` will prompt you
to open a discord url for authentication and then install the
notifier.

Running as root is needed as the script needs to modify the rsyslog
configuration on your machine.

## Organization

- `/server` contains the source code for a server which is needed to

M server/src/states.js => server/src/states.js +1 -1
@@ 32,7 32,7 @@ module.exports = async (req, STATES) => {
					 client_id: clientId,
					 client_secret: process.env.CLIENT_SECRET,
					 code: code,
					 redirect_uri: "http://127.0.0.1:3000/codes",
					 redirect_uri: "https://discord.negativefour.com/codes",
					 grant_type: "authorization_code",
				     }),
				 })