Skip to content

Commit

Permalink
Converted sitemap.lang to use typegened value from react-router
Browse files Browse the repository at this point in the history
  • Loading branch information
AlemTuzlak committed Nov 27, 2024
1 parent 54df754 commit 41facba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/routes/sitemap.$lang[.]xml.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { generateRemixSitemap } from "@forge42/seo-tools/remix/sitemap"
import { createDomain } from "~/utils/http"
import { Route } from "./+types/sitemap.$lang[.]xml"
import type { Route } from "./+types/sitemap.$lang[.]xml"

export const loader = async ({ request, params }: Route.LoaderArgs) => {
const domain = createDomain(request)
Expand Down

0 comments on commit 41facba

Please sign in to comment.