mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-06 21:03:47 +02:00
fix(v2): never remove trailing slash from site root like '/baseUrl/' (#5082)
* never apply trailingSlash to site root ('/baseUrl/') => only subroutes * add deprecation comment for loadContext.baseUrl in favor of loadContext.siteConfig.baseUrl * commit typo * useless code
This commit is contained in:
parent
41b78466da
commit
7592982960
11 changed files with 254 additions and 102 deletions
|
@ -6,4 +6,6 @@
|
|||
*/
|
||||
|
||||
export {default as applyTrailingSlash} from './applyTrailingSlash';
|
||||
export type {ApplyTrailingSlashParams} from './applyTrailingSlash';
|
||||
|
||||
export {default as uniq} from './uniq';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue