Skip to content

Commit 4c199f2

Browse files
authored
fix(dev-server): fix top level assets with rari (#12304)
1 parent c02dfb7 commit 4c199f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: server/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@ if (RARI) {
513513
"/en-US/community/index.json",
514514
"/en-US/plus/docs/*",
515515
"/en-US/observatory/docs/*",
516-
"/:locale/",
516+
"/:locale([a-z]{2}(?:(?:-[A-Z]{2})?))/",
517517
],
518518
async (req, res) => {
519519
try {

0 commit comments

Comments
 (0)