diff --git a/scripts/create_url_facts.sh b/scripts/create_url_facts.sh index cdcbc1ae6..4e45345de 100755 --- a/scripts/create_url_facts.sh +++ b/scripts/create_url_facts.sh @@ -1,21 +1,26 @@ #!/usr/bin/env bash set -euo pipefail SCRIPT_DIR=$(cd "$(dirname "$0")" || true; pwd -P) ROOT_DIR="${SCRIPT_DIR}/.." KEYSERVER_FACTS_DIR="${ROOT_DIR}/keyserver/facts" COMMAPP_URL_PATH="${KEYSERVER_FACTS_DIR}/commapp_url.json" LANDING_URL_PATH="${KEYSERVER_FACTS_DIR}/landing_url.json" +SQUADCAL_URL_PATH="${KEYSERVER_FACTS_DIR}/squadcal_url.json" if [[ ! -d "$KEYSERVER_FACTS_DIR" ]]; then mkdir -p "$KEYSERVER_FACTS_DIR" fi if [[ ! -f "$COMMAPP_URL_PATH" ]]; then cp "$SCRIPT_DIR/templates/commapp_url.json" "$COMMAPP_URL_PATH" fi if [[ ! -f "$LANDING_URL_PATH" ]]; then cp "$SCRIPT_DIR/templates/landing_url.json" "$LANDING_URL_PATH" fi + +if [[ ! -f "$SQUADCAL_URL_PATH" ]]; then + cp "$SCRIPT_DIR/templates/squadcal_url.json" "$SQUADCAL_URL_PATH" +fi diff --git a/scripts/templates/squadcal_url.json b/scripts/templates/squadcal_url.json new file mode 100644 index 000000000..6130fdfe6 --- /dev/null +++ b/scripts/templates/squadcal_url.json @@ -0,0 +1,7 @@ +{ + "baseDomain": "http://localhost:3000", + "basePath": "/comm/", + "https": false, + "baseRoutePath": "/", + "proxy": "apache" +}