Have you read the Contributing Guidelines on issues?
Prerequisites
Description
It can be useful for several reasons to have redirects off of the website. That requires using a fully resolved URI. While HTTP redirects are generally preferred it's not always an option.
Reproducible demo
No response
Steps to reproduce
Configure plugin-client-redirects with a to that includes a fully resolved URI (protocol & domain)
Expected behavior
Build succeeds
Actual behavior
Error: Invalid @docusaurus/plugin-client-redirects options: "redirects[0].to" is not a valid pathname. Pathname should start with slash and not contain any domain or query string.
Your environment
- Public source code:
- Public site URL:
- Docusaurus version used:
- Environment name and version (e.g. Chrome 89, Node.js 16.4):
- Operating system and version (e.g. Ubuntu 20.04.2 LTS):
Self-service
Have you read the Contributing Guidelines on issues?
Prerequisites
npm run clearoryarn clearcommand.rm -rf node_modules yarn.lock package-lock.jsonand re-installing packages.Description
It can be useful for several reasons to have redirects off of the website. That requires using a fully resolved URI. While HTTP redirects are generally preferred it's not always an option.
Reproducible demo
No response
Steps to reproduce
Configure plugin-client-redirects with a
tothat includes a fully resolved URI (protocol & domain)Expected behavior
Build succeeds
Actual behavior
Your environment
Self-service