Skip to content

Commit

Permalink
remove legacy function
Browse files Browse the repository at this point in the history
  • Loading branch information
LorisSigrist committed Feb 22, 2024
1 parent b3265ff commit eb3055e
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ import { sourceLanguageTag, availableLanguageTags } from "$paraglide/runtime.js"
import { LANGUAGE_HEADER } from "../constants"
import { prefixStrategy } from "./routing/prefix"

const { getLocaleFromLocalisedPath, translatePath, getCanonicalPath, getLocalisedPath } =
prefixStrategy(availableLanguageTags, sourceLanguageTag)
const { getLocaleFromLocalisedPath, translatePath, getCanonicalPath } = prefixStrategy(
availableLanguageTags,
sourceLanguageTag
)

/**
* Sets the request headers to resolve the language tag in RSC.
Expand Down

0 comments on commit eb3055e

Please sign in to comment.