Added simple HTML document to identify the server should someone hit the web port with a browser.

This commit is contained in:
Scott Duensing 2023-01-18 18:08:23 -06:00
parent b3d837b4ee
commit 50dfd2484f

View file

@ -395,6 +395,9 @@ function startBuildServer() {
fi
done
# Identify ourselves.
echo "<html><head><title>JoeyBuild Server</title></head><body>This is a <a href=\"https://joeylib.com\">JoeyLib</a> Build Server.</body></html>" > dist/index.html
# Start the PHP web server if it's not already running.
php -S 0.0.0.0:${G_HTTP_PORT} -t dist >> ${LOG} 2>&1 &