We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e15154 commit f216fa3Copy full SHA for f216fa3
web/utils/next-rebuild.ts
@@ -10,6 +10,6 @@ export function usePathname(): string | null {
10
const publicBasePath = process?.env?.NEXT_PUBLIC_BASE_PATH
11
if (pathname && publicBasePath)
12
pathname = publicBasePath + pathname
13
- console.debug(`[NextRebuild] oriPathName:${useNextPathname()}, currentPathName:${pathname}`)
+ console.debug(`[NextRebuild] oriPathName:${useNextPathname()}, currentPathName:${pathname}`, process.env)
14
return pathname
15
}
0 commit comments