mirror of https://github.com/statping/statping
gotify notifier updates
parent
1d3d0ce252
commit
2ec7c8eb95
|
@ -189,10 +189,10 @@ func importCli(args []string) error {
|
|||
|
||||
if exportData.Config != nil {
|
||||
if ask("Create config.yml file from Configs?") {
|
||||
log.Printf("Database User: %s\n", exportData.Config.DbUser)
|
||||
log.Printf("Database Host: %s\n", exportData.Config.DbHost)
|
||||
log.Printf("Database Port: %d\n", exportData.Config.DbPort)
|
||||
log.Printf("Database User: %s\n", exportData.Config.DbUser)
|
||||
log.Printf("Database Password: %s\n", exportData.Config.DbPass)
|
||||
log.Printf("Database Host: %s\n", exportData.Config.DbHost)
|
||||
log.Printf("Database Port: %d\n", exportData.Config.DbPort)
|
||||
if err := exportData.Config.Save(utils.Directory); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
import {library} from '@fortawesome/fontawesome-svg-core'
|
||||
import {fas} from '@fortawesome/fontawesome-free-solid';
|
||||
import {fab} from '@fortawesome/free-brands-svg-icons';
|
||||
import {far} from '@fortawesome/fontawesome-svg-core';
|
||||
import {FontAwesomeIcon} from '@fortawesome/vue-fontawesome'
|
||||
import Vue from "vue";
|
||||
|
||||
|
|
|
@ -123,6 +123,8 @@ export default Vue.mixin({
|
|||
return "bell"
|
||||
case "fas fa-mobile-alt":
|
||||
return "mobile"
|
||||
case "fa dot-circle":
|
||||
return ["fa", "dot-circle"]
|
||||
case "fas envelope-square":
|
||||
return ["fas", "envelope-square"]
|
||||
case "fab fa-slack":
|
||||
|
|
|
@ -27,7 +27,7 @@ var Gotify = &gotify{¬ifications.Notification{
|
|||
Description: "Use Gotify to receive push notifications. Add your Gotify URL and App Token to receive notifications.",
|
||||
Author: "Hugo van Rijswijk",
|
||||
AuthorUrl: "https://github.com/hugo-vrijswijk",
|
||||
Icon: "fa dot-circle",
|
||||
Icon: "broadcast-tower",
|
||||
Delay: time.Duration(5 * time.Second),
|
||||
Limits: 60,
|
||||
SuccessData: `{"title": "{{.Service.Name}}", "message": "Your service '{{.Service.Name}}' is currently online!", "priority": 2}`,
|
||||
|
|
Loading…
Reference in New Issue