diff --git a/scripts/create_url_facts.sh b/scripts/create_url_facts.sh --- a/scripts/create_url_facts.sh +++ b/scripts/create_url_facts.sh @@ -5,22 +5,22 @@ 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" +WEBAPP_URL_PATH="${KEYSERVER_FACTS_DIR}/webapp_url.json" +KEYSERVER_URL_PATH="${KEYSERVER_FACTS_DIR}/keyserver_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" +if [[ ! -f "$WEBAPP_URL_PATH" ]]; then + cp "$SCRIPT_DIR/templates/webapp_url.json" "$WEBAPP_URL_PATH" +fi + +if [[ ! -f "$KEYSERVER_URL_PATH" ]]; then + cp "$SCRIPT_DIR/templates/keyserver_url.json" "$KEYSERVER_URL_PATH" fi diff --git a/scripts/templates/commapp_url.json b/scripts/templates/keyserver_url.json rename from scripts/templates/commapp_url.json rename to scripts/templates/keyserver_url.json --- a/scripts/templates/commapp_url.json +++ b/scripts/templates/keyserver_url.json @@ -1,7 +1,7 @@ { "baseDomain": "http://localhost:3000", - "basePath": "/comm/", - "baseRoutePath": "/comm/", + "basePath": "/keyserver/", + "baseRoutePath": "/keyserver/", "https": false, "proxy": "none" } diff --git a/scripts/templates/squadcal_url.json b/scripts/templates/squadcal_url.json deleted file mode 100644 --- a/scripts/templates/squadcal_url.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "baseDomain": "http://localhost:3000", - "basePath": "/comm/", - "https": false, - "baseRoutePath": "/", - "proxy": "apache" -} diff --git a/scripts/templates/commapp_url.json b/scripts/templates/webapp_url.json rename from scripts/templates/commapp_url.json rename to scripts/templates/webapp_url.json --- a/scripts/templates/commapp_url.json +++ b/scripts/templates/webapp_url.json @@ -1,7 +1,7 @@ { "baseDomain": "http://localhost:3000", - "basePath": "/comm/", - "baseRoutePath": "/comm/", + "basePath": "/webapp/", + "baseRoutePath": "/webapp/", "https": false, "proxy": "none" }