summaryrefslogtreecommitdiff
path: root/views/webhook.pug
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-10-05 14:52:56 +0200
committerTor Andersson <tor@ccxvii.net>2023-10-05 15:08:49 +0200
commitf39d772de8d75232dd2d2637124ab60e6a408fac (patch)
tree32ceab2ce94250e27099b5bccce1d087e8e2b9ae /views/webhook.pug
parent47b5c03d286eb047b62f6d03dddf7d6bc6b3978e (diff)
downloadserver-f39d772de8d75232dd2d2637124ab60e6a408fac.tar.gz
Change some URLs to be more consistent.
Diffstat (limited to 'views/webhook.pug')
-rw-r--r--views/webhook.pug4
1 files changed, 2 insertions, 2 deletions
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