From f39d772de8d75232dd2d2637124ab60e6a408fac Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Thu, 5 Oct 2023 14:52:56 +0200 Subject: Change some URLs to be more consistent. --- views/webhook.pug | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'views/webhook.pug') diff --git a/views/webhook.pug b/views/webhook.pug index ad6c75f..20d20ac 100644 --- a/views/webhook.pug +++ b/views/webhook.pug @@ -14,7 +14,7 @@ html(lang="en") - var format = webhook && webhook.format || "" - var prefix = webhook && webhook.prefix || "" - form(action="/update-webhook" method="post") + form(action="/api/webhook/update" method="post") if webhook && webhook.error p.error ERROR: #{webhook.error} p Webhook URL: @@ -34,7 +34,7 @@ html(lang="en") button(type="submit") Create if webhook - form(action="/delete-webhook" method="post") + form(action="/api/webhook/delete" method="post") button(type="submit") Delete h2 Discord Notifications -- cgit v1.2.3