fix: Fix file-based route generation when custom routeToken or `ind…
#7048
+171
−5
routeToken or `ind…
#7048