support absolute https paths for IMAGE meta config

This commit is contained in:
Jaromil 2017-05-20 16:09:14 +02:00
parent 5e4f8b006f
commit dc4615dcfc
1 changed files with 2 additions and 0 deletions

2
render
View File

@ -95,6 +95,8 @@ render_file() {
render_header() {
if [[ "$IMAGE" =~ "http://" ]] ; then
_image=$IMAGE
elif [[ "$IMAGE" =~ "https://" ]] ; then
_image=$IMAGE
else
_image=$WEB_ROOT/$IMAGE
fi