Skip to content

Commit e88a4b8

Browse files
committed
publish 1.2.4
1 parent a34581d commit e88a4b8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@idrinth/react-file-based-routes",
3-
"version": "1.2.3",
3+
"version": "1.2.4",
44
"repository": "https://github.com/idrinth/react-file-based-routes",
55
"description": "A simple file based routing library, that does not force itself on you.",
66
"license": "MIT",

src/generate-folders.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ export default (cwd: string, configuration: Configuration) => {
8888
if (configuration.routes.overridePathMappings[pageName] !== '*') {
8989
writeIndexHtml(cwd, file, configuration.routes.overridePathMappings[pageName], template, configuration, preload);
9090
} else {
91-
writeIndexHtml(cwd, file, '', template, configuration, preload);
91+
writeIndexHtml(cwd, file, '/', template, configuration, preload);
9292
}
9393
} else {
9494
writeIndexHtml(cwd, file, `/${ pageName }/`, template, configuration, preload);

0 commit comments

Comments
 (0)