incremental
diff --git a/scripts/build_web_assets.py b/scripts/build_web_assets.py
index bb6ded5..e4d8cab 100755
--- a/scripts/build_web_assets.py
+++ b/scripts/build_web_assets.py
@@ -53,12 +53,12 @@
pathsplit = full_filepath.split(os.path.sep)
relative_path = os.path.sep.join(pathsplit[pathsplit.index("static") + 1:])
-
+
+ relative_path = "/static/" + relative_path
+
# handle the default routes
- if relative_path.endswith("index.html"):
- relative_path = ""
-
- relative_path = "/" + relative_path
+ if relative_path == "/static/index.html":
+ relative_path = "/"
# make sure none of the files are hidden
with open(full_filepath, 'rb') as input_file: