Skip to content
This repository has been archived by the owner on Apr 5, 2024. It is now read-only.

Commit

Permalink
Moved sleep in wpe-init for custom url support
Browse files Browse the repository at this point in the history
Change-type: patch
  • Loading branch information
craftbyte committed Aug 19, 2019
1 parent 40d5026 commit f528150
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions wpe/wpe-init
Expand Up @@ -33,13 +33,11 @@ if [[ ! -z ${GALLERY_URL} ]]
then
echo "Loading gallery"
WPE_URL="file:///var/lib/public_html/index.html"

# wait for it
sleep 5
fi

if [[ ! -z ${WPE_URL+x} ]]
then
sleep 5
wget --post-data "url=$WPE_URL" http://localhost:8080/launch/
fi

Expand Down

0 comments on commit f528150

Please sign in to comment.