Skip to content

Commit

Permalink
Make ENV_MODE_BROWSE_ONLY=true for now
Browse files Browse the repository at this point in the history
only rough browsing capabilities are implemented right now.
  • Loading branch information
kwk committed Nov 17, 2015
1 parent ef9db0d commit 3379eb0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions start-apache.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ echo "{\"host\": \"$ENV_REGISTRY_PROXY_FQDN\", \"port\": $ENV_REGISTRY_PROXY_POR

# information about browse mode.
[[ x$ENV_MODE_BROWSE_ONLY =~ ^x(true|false)$ ]] || ENV_MODE_BROWSE_ONLY=false
# Overwrite browse-only option for now since only browse-only is working right now
ENV_MODE_BROWSE_ONLY=true
[[ -z "$ENV_DEFAULT_REPOSITORIES_PER_PAGE" ]] && ENV_DEFAULT_REPOSITORIES_PER_PAGE=20
echo "{\"browseOnly\":$ENV_MODE_BROWSE_ONLY, \"defaultRepositoriesPerPage\":$ENV_DEFAULT_REPOSITORIES_PER_PAGE}" > /var/www/html/app-mode.json
if [ "$ENV_MODE_BROWSE_ONLY" == "true" ]; then
Expand Down

0 comments on commit 3379eb0

Please sign in to comment.