mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-14 00:32:47 +02:00
feat(client-redirects-plugin): support fully qualified urls and querystring/hash in destination/to url (#9171)
This commit is contained in:
parent
4ea0a70f93
commit
09ea3bcfab
17 changed files with 260 additions and 44 deletions
|
@ -91,7 +91,7 @@ export const PathnameSchema = Joi.string()
|
|||
return val;
|
||||
})
|
||||
.message(
|
||||
'{{#label}} is not a valid pathname. Pathname should start with slash and not contain any domain or query string.',
|
||||
'{{#label}} ({{#value}}) is not a valid pathname. Pathname should start with slash and not contain any domain or query string.',
|
||||
);
|
||||
|
||||
// Normalized schema for url path segments: baseUrl + routeBasePath...
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue