Skip to content

Commit 89e6640

Browse files
committed
Use account_url for link
account_url contains `APPLICATION_ROOT`. Fixes CTFd/CTFd#2492
1 parent 4854c2b commit 89e6640

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/scoreboard.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ <h1>
4444
<tr>
4545
<th scope="row" class="text-center" x-text="index + 1"></th>
4646
<td>
47-
<a :href="`/${CTFd.config.userMode}/${standing.account_id}`" x-text="standing.name"></a>
47+
<a :href="standing.account_url" x-text="standing.name"></a>
4848
<template x-if="standing.bracket_name">
4949
<span class="badge bg-secondary ms-2" x-text="standing.bracket_name">
5050
</template>

0 commit comments

Comments
 (0)