Skip to content

Commit

Permalink
feat(url): remove slash (#212)
Browse files Browse the repository at this point in the history
  • Loading branch information
PaiJi authored Dec 15, 2024
1 parent 8fb6c6e commit ace57cf
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/pages/[organization]/[slug].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -500,13 +500,13 @@ export async function getStaticProps(context: GetStaticPropsContext) {
"@type": "ListItem",
position: 1,
name: "展商",
item: "https://www.furryeventchina.com/organization/",
item: "https://www.furryeventchina.com/organization",
},
{
"@type": "ListItem",
position: 2,
name: event?.organization?.name,
item: `https://www.furryeventchina.com/${context.params?.organization}/`,
item: `https://www.furryeventchina.com/${context.params?.organization}`,
},
{
"@type": "ListItem",
Expand Down Expand Up @@ -554,7 +554,7 @@ export async function getStaticProps(context: GetStaticPropsContext) {
organizer: {
"@type": "Organization",
name: event?.organization?.name,
url: `https://www.furryeventchina.com/${context.params?.organization}/`,
url: `https://www.furryeventchina.com/${context.params?.organization}`,
},
},
imageObject: [
Expand Down
2 changes: 1 addition & 1 deletion src/pages/[organization]/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ export async function getStaticProps(context: GetStaticPropsContext) {
"@type": "ListItem",
position: 1,
name: "展商",
item: "https://www.furryeventchina.com/organization/",
item: "https://www.furryeventchina.com/organization",
},
{
"@type": "ListItem",
Expand Down
2 changes: 1 addition & 1 deletion src/pages/city.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ export async function getStaticProps({ locale }: { locale: string }) {
"@type": "ListItem",
position: 1,
name: "城市",
item: "https://www.furryeventchina.com/city/",
item: "https://www.furryeventchina.com/city",
},
],
},
Expand Down
2 changes: 1 addition & 1 deletion src/pages/organization.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export async function getStaticProps({ locale }: { locale: string }) {
"@type": "ListItem",
position: 1,
name: "展商",
item: "https://www.furryeventchina.com/organization/",
item: "https://www.furryeventchina.com/organization",
},
],
},
Expand Down

0 comments on commit ace57cf

Please sign in to comment.