We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 814ac8f commit 907a84aCopy full SHA for 907a84a
1 file changed
frontend/getRoutes.ts
@@ -5,7 +5,7 @@ import { firestore } from './utils/db'
5
* Converts an id into a path.
6
*/
7
function getPath(id: string) {
8
- return id.replace(/::/g, '/').replace('.md', '')
+ return id.replace(/::/, '/').replace('.md', '')
9
}
10
11
/**
0 commit comments