feat: add base path for deploy

This commit is contained in:
2026-08-25 10:36:10 +05:00
parent b296b6fa20
commit 6d770dc642
3 changed files with 18 additions and 4 deletions
+2 -1
View File
@@ -1,5 +1,6 @@
<script lang="ts">
import { CATEGORIES } from '$lib/categories';
import { resolve } from '$app/paths';
import { t } from '$lib/i18n/t';
import { toolDescription, toolTitle } from '$lib/i18n/tool-strings';
import ToolCard from '$lib/components/search/ToolCard.svelte';
@@ -26,7 +27,7 @@
toolId={tool.id}
title={toolTitle(tool)}
description={toolDescription(tool)}
href="/tools/{tool.id}"
href={resolve(`/tools/${tool.id}`)}
/>
</div>
{/each}