disallow 365 B

12345678910111213
  1. #!/usr/bin/env bash
  2. set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
  3. source "$PLUGIN_AVAILABLE_PATH/robots.txt/functions"
  4. robots_txt_disallow() {
  5. declare desc="discourage web crawlers from indexing this app"
  6. local cmd="$1"
  7. [[ -z $2 ]] && echo "Please specify an app to run the command on" && exit 1
  8. robots_txt_build_config $2 "/"
  9. }
  10. robots_txt_disallow "$@"