From 60dc27a035dd76c2e0b615f316b683a98793b3c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arturo=20Filast=C3=B2?= Date: Mon, 4 Dec 2023 13:07:52 +0100 Subject: [PATCH] Fix baseURL CLI flag --- Makefile | 4 ++-- cypress.json | 2 +- scripts/build_website.sh | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 7d695ea04..c03ed6471 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ build: hugo server: - hugo server --baseUrl=http://127.0.0.1:1313 --buildDrafts --buildFuture + hugo server --baseURL=http://127.0.0.1:1313 --buildDrafts --buildFuture dev: - hugo server --baseUrl=http://127.0.0.1:1313 --buildDrafts --buildFuture --disableFastRender + hugo server --baseURL=http://127.0.0.1:1313 --buildDrafts --buildFuture --disableFastRender diff --git a/cypress.json b/cypress.json index 98054fd9f..eecc700b7 100644 --- a/cypress.json +++ b/cypress.json @@ -1,4 +1,4 @@ { - "baseUrl": "http://localhost:1313", + "baseURL": "http://localhost:1313", "chromeWebSecurity": false } diff --git a/scripts/build_website.sh b/scripts/build_website.sh index 2ca774940..f51d9840b 100755 --- a/scripts/build_website.sh +++ b/scripts/build_website.sh @@ -7,7 +7,7 @@ fi echo "Using BASE_URL=$BASE_URL" npm install mkdir -p public/ -hugo --minify --buildDrafts --baseUrl="$BASE_URL" +hugo --minify --buildDrafts --baseURL="$BASE_URL" cp static/googlec8ce605468a38232.html public/ cp static/robots.txt public/ cp _redirects public/