Merge pull request #31 from Zebradil/master

Fix init of static files
This commit is contained in:
aptalca 2024-03-28 15:33:43 -04:00 committed by GitHub
commit d51b332033
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -7,11 +7,11 @@ mkdir -p \
# create symlink to index.html
if [[ ! -L /app/www/public/index.html ]]; then
ln -s /config/www/index.html /app/www/public/index.html
ln -sf /config/www/index.html /app/www/public/index.html
fi
# update templates
cp /app/www/public/example*.html /config/www/
cp /app/www/public/examples/example*.html /config/www/
# use custom js files if exist
if [[ -f /config/www/speedtest.js ]]; then