aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/api
diff options
context:
space:
mode:
Diffstat (limited to 'api')
-rw-r--r--api/api.go11
1 files changed, 0 insertions, 11 deletions
diff --git a/api/api.go b/api/api.go
index 251b647..eb801eb 100644
--- a/api/api.go
+++ b/api/api.go
@@ -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))
}