next-auth
69c0b58d - fix(next-auth): Avoid excessive basePath redundant warning (#11636)

Commit
1 year ago
fix(next-auth): Avoid excessive basePath redundant warning (#11636) * chore: Add brace * feat: Update env.ts to handle redundant base path URL * feat: Add `suppressBasePathWarning` option in `setEnvDefaults` * fix: Do not warn about redundant base path in `createActionURL` * chore: Move `logger' closer to where it is used * fix: Update to suppress base path warning in `coreSetEnvDefaults` * chore: Refactor env.test.ts for better readability and maintainability * chore: Refactor env.test.ts and improve logging for `createActionURL` * fix: Update AUTH_URL in env.test.ts to remove trailing slash * fix: Update createActionURLto handle redundant base path URL * chore: Improve test rigor * chore: Add test case * chore: Check `logger` call * chore: Add test case * chore: Add parameter documentation * chore: Add tests for env.ts --------- Co-authored-by: Thang Vu <hi@thvu.dev>
Author
Parents
Loading