Skip to content

Commit

Permalink
Removed user input from JSON-LD markup (#1246)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdellabitta committed Dec 6, 2022
1 parent 8fab1b9 commit cdc373e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/ItemComponents/Content/JsonLdMarkup.js
Expand Up @@ -228,9 +228,9 @@ const JsonLdMarkup = ({ item, router }) => {
"@context": "http://schema.org/",
"@type": type(),
// TODO: Is there a better way to generate the api URI?
"@id": "http://api.dp.la/items/" + router.query.itemId,
"@id": "http://api.dp.la/items/" + item.id,
// TODO: Is there a better way to generate the URL of this page?
mainEntityOfPage: "https://dp.la/item/" + router.query.itemId,
mainEntityOfPage: "https://dp.la/item/" + item.id,
isAccessibleForFree: true,
provider: provider(),
license: license(),
Expand Down

0 comments on commit cdc373e

Please sign in to comment.