Investigate edge-case with `basePath` and `trailingSlash: true`:
See original GitHub issueSomething wrong going on when using basePath
and trailingSlash: true
:
Next/Link removes trailing slash when going to “/”
And in some old browsers got error (which was not in 9.4.5-canary.27
)
Unhandled promise rejection,TypeError: t.entries is not a function
/_next/static/runtime/polyfills-35e39b6a0bf08dcb376c.js
Using 9.4.5-canary.34
_Originally posted by @Unsfer in https://github.com/vercel/next.js/issues/15148#issuecomment-658731907_
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
Trailing Slash - next.config.js
Configure Next.js pages to resolve with or without a trailing slash. ... module.exports = { trailingSlash: true, }. With this option set, urls...
Read more >@esbuild/openbsd-x64 | Yarn - Package Manager
Each edge case in the code above previously incorrectly printed false when run through esbuild with --minify --target=es6 but now correctly prints true...
Read more >When should I use a trailing slash in my URL? - Stack Overflow
It is not a question of preference. /base and /base/ have different semantics. In many cases, the difference is unimportant.
Read more >github_data_SentiStrength-SE_results_initial.txt - GitLab
It will give a notice of undefined index '_', causing some tests to fail or not show the real error from the test...
Read more >[ARVADOS] created: 1.1.0
2800: run_test_server only uses tests/tmp for real Python tests. ... behaviour when using, or not, a trailing slash on directory references.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
There are two different issues:
trailingSlash: true
URLSearchParams
an instance of which does not have.entries
(browser compatibility)This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.