Have you read the Contributing Guidelines on issues?
Prerequisites
Description
We are attempting to upgrade to Docusarus 3.3.2, and we are noticing an interesting behavior with trailing slashes on asset files. We have by default the following baseURL and trailingSlash configuration
baseUrl: "/",
trailingSlash: true,
After the upgrade, if we do a docusarus serve we get a broken page that are missing assets. Upon closer inspection we noticed that asset files are specified with a / at the end. For example runtime-main.d2091a86.js/

It's strange that not all files have this behavior.
If we change the trailingSlash configuration to false then this issue goes away.
Reproducible demo
We have a PR in our public repo that can be used to test
spectrocloud/librarium#2839.
Just make sure you set the following env values before starting any server or build
ALGOLIA_APP_ID=1234567890
ALGOLIA_SEARCH_KEY=1234567890
Steps to reproduce
Upgrade to Docusarus 3.3.2 and set the configuration file to have the following baseURL and trailingSlash configuration
baseUrl: "/",
trailingSlash: true,
Expected behavior
We would expect asset files to not have an extra / at the end.
Actual behavior
Pages are loading with missing assets.
Your environment
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
We are attempting to upgrade to Docusarus 3.3.2, and we are noticing an interesting behavior with trailing slashes on asset files. We have by default the following
baseURLandtrailingSlashconfigurationAfter the upgrade, if we do a
docusarus servewe get a broken page that are missing assets. Upon closer inspection we noticed that asset files are specified with a/at the end. For exampleruntime-main.d2091a86.js/It's strange that not all files have this behavior.
If we change the
trailingSlashconfiguration tofalsethen this issue goes away.Reproducible demo
We have a PR in our public repo that can be used to test
spectrocloud/librarium#2839.
Just make sure you set the following env values before starting any server or build
Steps to reproduce
Upgrade to Docusarus 3.3.2 and set the configuration file to have the following
baseURLandtrailingSlashconfigurationExpected behavior
We would expect asset files to not have an extra
/at the end.Actual behavior
Pages are loading with missing assets.
Your environment
Self-service