Added simple HTML document to identify the server should someone hit the web port with a browser.
This commit is contained in:
parent
b3d837b4ee
commit
50dfd2484f
1 changed files with 3 additions and 0 deletions
|
@ -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 &
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue