mirror of
https://github.com/maxdorninger/MediaManager.git
synced 2026-04-21 16:25:36 +02:00
add base url to all the redirects and links
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
import { Skeleton } from '$lib/components/ui/skeleton';
|
||||
import { Button } from '$lib/components/ui/button';
|
||||
import { ChevronRight } from 'lucide-svelte';
|
||||
import { base } from '$app/paths';
|
||||
|
||||
let {
|
||||
media,
|
||||
@@ -30,12 +31,12 @@
|
||||
{/each}
|
||||
{/if}
|
||||
{#if isShow}
|
||||
<Button class="md:col-start-2" variant="secondary" href="/dashboard/tv/add-show">
|
||||
<Button class="md:col-start-2" variant="secondary" href="{base}/dashboard/tv/add-show">
|
||||
More recommendations
|
||||
<ChevronRight />
|
||||
</Button>
|
||||
{:else}
|
||||
<Button class="md:col-start-2" variant="secondary" href="/dashboard/movies/add-movie">
|
||||
<Button class="md:col-start-2" variant="secondary" href="{base}/dashboard/movies/add-movie">
|
||||
More recommendations
|
||||
<ChevronRight />
|
||||
</Button>
|
||||
|
||||
Reference in New Issue
Block a user