We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56ca605 commit f81299cCopy full SHA for f81299c
docker/start.sh
@@ -5,6 +5,11 @@ if [ -z "$REINDEX" ]; then
5
REINDEX=10
6
fi
7
8
+if [[ -z "${OPENGROK_WEBAPP_CONTEXT}" || "${OPENGROK_WEBAPP_CONTEXT}" = *" "* ]]; then
9
+ date +"%F %T Deployment path is empty or contains spaces. Deploying to root..."
10
+ export OPENGROK_WEBAPP_CONTEXT="/"
11
+fi
12
+
13
if [ "${OPENGROK_WEBAPP_CONTEXT}" = "/" ]; then
14
WAR_NAME="ROOT.war"
15
else
0 commit comments