Skip to content

Commit

Permalink
trailingslash
Browse files Browse the repository at this point in the history
  • Loading branch information
vboulaye committed Oct 9, 2023
1 parent ffb306f commit abdd88e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/routes/+layout.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import {callDeezer} from "$lib/DeezerCall";
import type {LayoutLoad} from "./$types"

export const prerender = 'auto'
export const trailingSlash = 'always';

function getCurrentUser() {
if (TokenCookie.get()) {
Expand Down
2 changes: 1 addition & 1 deletion src/routes/playlists/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
{#each paginatedSource as playlist}
<tr>
<td>
<a href="playlists/{playlist.id}" data-sveltekit-preload-data="off">
<a href="{playlist.id}" data-sveltekit-preload-data="off">
<div class="flex items-center">
<img src={playlist.picture_small} alt="playlist cover" aria-describedby="{playlist.id}_title" class="deezer_img_small"/>
<strong id="{playlist.id}_title" class="m-2">{playlist.title}</strong>
Expand Down

0 comments on commit abdd88e

Please sign in to comment.