We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2116bc8 commit 020c844Copy full SHA for 020c844
main.go
@@ -44,7 +44,8 @@ type discordOut struct {
44
}
45
46
func main() {
47
- whURL := flag.String("webhook.url", "https://blah", "")
+ webhookUrl := os.Getenv("webhook")
48
+ whURL := flag.String("webhook.url", webhookUrl, "")
49
flag.Parse()
50
http.ListenAndServe("localhost:9094", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
51
b, err := ioutil.ReadAll(r.Body)
0 commit comments