Replace BASE_URL constant by REMARK_URL in html

This commit is contained in:
sattellite
2020-11-10 11:04:07 -06:00
committed by Umputun
parent 2a48cc9682
commit 0d42761a12
+1 -1
View File
@@ -1,7 +1,7 @@
#!/bin/sh
echo "prepare environment"
# replace BASE_URL constant by REMARK_URL
sed -i "s|https://demo.remark42.com|${REMARK_URL}|g" /srv/web/*.js
sed -i "s|https://demo.remark42.com|${REMARK_URL}|g" /srv/web/*.{js,html}
if [ -d "/srv/var" ]; then
chown -R app:app /srv/var 2>/dev/null