Skip to content

Commit

Permalink
test: added the trace
Browse files Browse the repository at this point in the history
  • Loading branch information
kurone-kito committed Aug 3, 2024
1 parent fb4878b commit 2191b8e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nodePackages/web/src/modules/useLanguageHref.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export const useLanguageHref = (target: Language) => {
const baseUrl = import.meta.env.SERVER_BASE_URL;
const location = useLocation();
const realPath = location.pathname.replace(baseUrl, '');
console.warn('realPath', realPath);
return createMemo(() =>
regexp.test(realPath)
? realPath.replace(regexp, target)
Expand Down

0 comments on commit 2191b8e

Please sign in to comment.