diff --git a/internal/web/public/js/notify.js b/internal/web/public/js/notify.js new file mode 100644 index 0000000..5e9faaf --- /dev/null +++ b/internal/web/public/js/notify.js @@ -0,0 +1,5 @@ +async function testNotifications() { + + const url = '/api/test_notify' + await fetch(url, { method: 'post' }) +} diff --git a/internal/web/templates/config.html b/internal/web/templates/config.html index f32d4ee..6b84498 100644 --- a/internal/web/templates/config.html +++ b/internal/web/templates/config.html @@ -44,6 +44,7 @@ + @@ -199,6 +200,7 @@ + {{ template "footer.html" }} -{{ end }} \ No newline at end of file +{{ end }}