From e68670023aadb90f339d07fb1602d6014c35e50b Mon Sep 17 00:00:00 2001 From: Thomas E Lackey Date: Wed, 22 May 2024 13:27:11 -0500 Subject: [PATCH] Make the SPA detection even simpler. --- .../cerc-webapp-base/scripts/start-serving-app.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stack_orchestrator/data/container-build/cerc-webapp-base/scripts/start-serving-app.sh b/stack_orchestrator/data/container-build/cerc-webapp-base/scripts/start-serving-app.sh index 148532b6..855cfd93 100755 --- a/stack_orchestrator/data/container-build/cerc-webapp-base/scripts/start-serving-app.sh +++ b/stack_orchestrator/data/container-build/cerc-webapp-base/scripts/start-serving-app.sh @@ -9,7 +9,7 @@ CERC_ENABLE_CORS="${CERC_ENABLE_CORS:-false}" CERC_SINGLE_PAGE_APP="${CERC_SINGLE_PAGE_APP}" if [ -z "${CERC_SINGLE_PAGE_APP}" ] && [ 1 -eq $(find "${CERC_WEBAPP_FILES_DIR}" -name '*.html' | wc -l) ]; then - # If there + # If there only one HTML file, we assume an SPA. CERC_SINGLE_PAGE_APP=true else CERC_SINGLE_PAGE_APP=false