1
0
mirror of https://github.com/mgerb/go-discord-bot synced 2026-01-10 09:02:49 +00:00

convert to chi web framework - add tls support

This commit is contained in:
2017-07-20 21:34:36 -05:00
parent b915ec065a
commit 4baad6b025
6 changed files with 178 additions and 62 deletions

View File

@@ -13,6 +13,12 @@ NOTE: Currently the binaries in the release package only run on linux. Check the
- add your bot token and preferred upload password (leave as is for no password)
- run the bot with `./bot` (you may need to use sudo if you leave it on port 80)
## Flags
> -p, run in production mode
> -tls, run with auto tls
### NOTE
If you get a permissions error with ffmpeg on mac or linux: