Skip to content

Commit

Permalink
less complicated pathname
Browse files Browse the repository at this point in the history
  • Loading branch information
dcousens committed Sep 16, 2024
1 parent 1acfa6e commit 65064d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/app/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export async function subscribeToButtondown (pathname: string, formData: FormDat
email: formData.get('email'),
tags: [
...formData.getAll('tags'),
`source:keystonejs.com${pathname !== '/' ? `/${pathname}` : '/home'}`,
`source:keystonejs.com${pathname}`,
],
}

Expand Down

0 comments on commit 65064d5

Please sign in to comment.