URL encode categories #41

This commit is contained in:
dragongoose
2023-09-16 11:24:50 -04:00
parent 34f9320889
commit 034958a8b7
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ export default {
<template>
<div class="bg-ctp-crust w-40 lg:w-[11rem] md:w-[13.5rem] rounded-lg">
<router-link :to="`/directory/game/${category.name}`">
<router-link :to="`/directory/game/${encodeURIComponent(category.name)}`">
<img :src="category.image" class="rounded-lg rounded-b-none w-full" />
</router-link>