add clickable notification
This commit is contained in:
@@ -108,6 +108,12 @@ func main() {
|
||||
port = "8080"
|
||||
}
|
||||
|
||||
domain := os.Getenv("DOMAIN")
|
||||
if domain == "" {
|
||||
domain = "http://localhost:" + port + "/"
|
||||
os.Setenv("DOMAIN", domain)
|
||||
}
|
||||
|
||||
err = r.Run(":" + port)
|
||||
if err != nil {
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user