We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef627f8 commit de49a06Copy full SHA for de49a06
1 file changed
packages/docusaurus/src/commands/serve.ts
@@ -80,7 +80,7 @@ export async function serve(
80
if (baseUrl !== '/') {
81
// Not super robust, but should be good enough for our use case
82
// See https://github.com/facebook/docusaurus/pull/10090
83
- const looksLikeAsset = !!req.url.match(/.[a-z]{1,4}$/);
+ const looksLikeAsset = !!req.url.match(/.[a-zA-Z\d]{1,4}$/);
84
if (!looksLikeAsset) {
85
const normalizedUrl = applyTrailingSlash(req.url, {
86
trailingSlash,
0 commit comments