mirror of https://github.com/dyne/webnomad.git
support absolute https paths for IMAGE meta config
This commit is contained in:
parent
5e4f8b006f
commit
dc4615dcfc
2
render
2
render
|
|
@ -95,6 +95,8 @@ render_file() {
|
||||||
render_header() {
|
render_header() {
|
||||||
if [[ "$IMAGE" =~ "http://" ]] ; then
|
if [[ "$IMAGE" =~ "http://" ]] ; then
|
||||||
_image=$IMAGE
|
_image=$IMAGE
|
||||||
|
elif [[ "$IMAGE" =~ "https://" ]] ; then
|
||||||
|
_image=$IMAGE
|
||||||
else
|
else
|
||||||
_image=$WEB_ROOT/$IMAGE
|
_image=$WEB_ROOT/$IMAGE
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue