GitHub

provideDaffCanonicalUrlUpdates

Provides canonical URL update logic.

See DAFF_SEO_CANONICAL_URL_UPDATES.

import { provideDaffCanonicalUrlUpdates } from '@daffodil/seo/state'
function provideDaffCanonicalUrlUpdates<T extends Action = Action>(...values: DaffSeoCanonicalUrlUpdate<T>[]): Provider[]

Examples

providers: [
  ...provideDaffCanonicalUrlUpdates(
    myCanonicalUrlUpdate
  )
]