Skip to content

Commit

Permalink
Empty main path is not working with Vue.JS
Browse files Browse the repository at this point in the history
  • Loading branch information
benoit74 committed Oct 20, 2023
1 parent afabde7 commit 96440af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scraper/src/kolibri2zim/scraper.py
Original file line number Diff line number Diff line change
Expand Up @@ -905,7 +905,7 @@ def run(self):
return 1
self.creator = Creator(
filename=self.output_dir.joinpath(self.clean_fname),
main_path="",
main_path="home",
ignore_duplicates=True,
)
self.creator.config_metadata(
Expand Down Expand Up @@ -1128,7 +1128,7 @@ def add_zimui(self):
path = str(Path(file).relative_to(self.zimui_dist))
logger.debug(f"Adding {path} to ZIM")
self.creator.add_item_for(
path if path != "index.html" else "",
path if path != "index.html" else "home",
fpath=file,
is_front=path == "index.html",
)
Expand Down

0 comments on commit 96440af

Please sign in to comment.