Skip to content

Commit

Permalink
Fix baseURL CLI flag
Browse files Browse the repository at this point in the history
  • Loading branch information
hellais committed Dec 4, 2023
1 parent 2133481 commit 60dc27a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion cypress.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"baseUrl": "http://localhost:1313",
"baseURL": "http://localhost:1313",
"chromeWebSecurity": false
}
2 changes: 1 addition & 1 deletion scripts/build_website.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down

0 comments on commit 60dc27a

Please sign in to comment.