diff options
Diffstat (limited to 'api/api.go')
| -rw-r--r-- | api/api.go | 11 |
1 files changed, 0 insertions, 11 deletions
@@ -93,17 +93,6 @@ func VttLogs(w http.ResponseWriter, req *http.Request) { } } -func SiteOnline(w http.ResponseWriter, req *http.Request) { - const URL string = "https://dnd.jpappel.xyz" - - status := remoteOnline(req.Context(), URL) - if !status.Online { - Logger.DebugContext(req.Context(), "Campaign Website is offline") - } - - respondOnline(w, status) -} - func init() { Logger = slog.New(slog.NewTextHandler(os.Stdout, nil)) } |
