summaryrefslogtreecommitdiff
path: root/views/tm_seed.pug
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2025-05-06 20:25:36 +0200
committerTor Andersson <tor@ccxvii.net>2025-05-06 20:25:36 +0200
commit644c287eede443c608eeab0cc6cd41da228947e3 (patch)
tree2bf71850e6afe5c954515edcc110f7c91cf6d7f2 /views/tm_seed.pug
parent2d22fd6f23e2afe24b64e4b8ab09bf1b5404e3e4 (diff)
downloadserver-644c287eede443c608eeab0cc6cd41da228947e3.tar.gz
Remove "api" prefix on many routes.
Diffstat (limited to 'views/tm_seed.pug')
-rw-r--r--views/tm_seed.pug6
1 files changed, 3 insertions, 3 deletions
diff --git a/views/tm_seed.pug b/views/tm_seed.pug
index 45659c5..abf02c1 100644
--- a/views/tm_seed.pug
+++ b/views/tm_seed.pug
@@ -67,11 +67,11 @@ html
if user
if queue.find(p => p.user_id === user.user_id)
- form(method="post" action="/api/tm/withdraw/" + seed.seed_id + "/" + (ix+1))
+ form(method="post" action="/tm/withdraw/" + seed.seed_id + "/" + (ix+1))
button(disabled) Register
button(type="submit") Withdraw
else if may_register && may_join_seed_level(user.user_id, seed.seed_id, ix+1)
- form(method="post" action="/api/tm/register/" + seed.seed_id + "/" + (ix+1))
+ form(method="post" action="/tm/register/" + seed.seed_id + "/" + (ix+1))
button(type="submit") Register
button(disabled) Withdraw
else
@@ -81,7 +81,7 @@ html
if user.user_id === 1
if queue.length >= seed.pool_size
- form(method="post" action="/api/tm/start/" + seed.seed_id + "/" + (ix+1))
+ form(method="post" action="/tm/start/" + seed.seed_id + "/" + (ix+1))
button(type="submit") Start
else
p <a href="/login">Login</a> or <a href="/signup">sign up</a> to register.