mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Fix eleventy route collisions
This commit is contained in:
parent
01da7a3cad
commit
bf0d665866
4 changed files with 18 additions and 8 deletions
|
|
@ -46,6 +46,10 @@ export function getAppEndpoint ( app ) {
|
|||
return `/${appType}/${app.slug}`
|
||||
}
|
||||
|
||||
export function getStoryEndpoint( app ) {
|
||||
return `${getAppEndpoint(app)}/story/`
|
||||
}
|
||||
|
||||
export function getVideoEndpoint ( video ) {
|
||||
|
||||
return `/tv/${video.slug}`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue