Skip to content

Commit 65064d5

Browse files
authored
less complicated pathname
1 parent 1acfa6e commit 65064d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/app/actions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export async function subscribeToButtondown (pathname: string, formData: FormDat
99
email: formData.get('email'),
1010
tags: [
1111
...formData.getAll('tags'),
12-
`source:keystonejs.com${pathname !== '/' ? `/${pathname}` : '/home'}`,
12+
`source:keystonejs.com${pathname}`,
1313
],
1414
}
1515

0 commit comments

Comments
 (0)