This commit is contained in:
Stavros Korokithakis 2022-03-01 00:24:51 +02:00
parent 1a5b9df97b
commit 1ac50a9d79
No known key found for this signature in database
GPG Key ID: 26EA345ECD4C2A63

3
build
View File

@ -23,3 +23,6 @@ sed -i "s/\(href\|src\)=\"[[:alnum:]\-]*\/\//\1=\"\//g" public/print.html
# Make checkboxes editable, just in case the user wants to keep their own checklist. # Make checkboxes editable, just in case the user wants to keep their own checklist.
find public/ -name "*.html" -type f -exec sed -i 's/input disabled=""/input/g' {} + find public/ -name "*.html" -type f -exec sed -i 's/input disabled=""/input/g' {} +
# Replace invalid `path_to_root`.
find public/ -name "*.html" -type f -exec sed -i 's/var path_to_root = "\/.";/var path_to_root = "\/";/g' {} +