Replacing REMARK_URL, fix remark_config stub, add minify html/css in templates

This commit is contained in:
Pavel Mineev
2021-01-12 13:39:26 -06:00
committed by Umputun
parent e77ffef4f4
commit bb5907d21f
14 changed files with 222 additions and 106 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
#!/bin/sh
echo "prepare environment"
# replace BASE_URL constant by REMARK_URL
# replace {% REMARK_URL %} by content of REMARK_URL variable
sed -i "s|{% REMARK_URL %}|${REMARK_URL}|g" /srv/web/*.html
sed -i "s|{% REMARK_URL %}|${REMARK_URL}|g" /srv/web/*.js