Skip to content
This repository has been archived by the owner on Aug 27, 2024. It is now read-only.

Commit

Permalink
Adjusted connect url in server list too
Browse files Browse the repository at this point in the history
  • Loading branch information
zziger authored Oct 21, 2023
1 parent fb36e61 commit 0c0d5a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/server/servers.vue
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
<!-- <img :src="getFlagImage(server.language)" /> -->
</td>
<td class="center optional connect">
<a :href="'altv://connect/' + server.address">Connect</a>
<a :href="`altv://connect/${encodeURIComponent(server.address)}?name=${encodeURIComponent(server.name)}&id=${encodeURIComponent(server.publicId)}`">Connect</a>
</td>
</tr>
</tbody>
Expand Down

0 comments on commit 0c0d5a7

Please sign in to comment.