Skip to content

Commit

Permalink
update api url env defautls
Browse files Browse the repository at this point in the history
Signed-off-by: Deggen <[email protected]>
  • Loading branch information
sirdeggen committed Feb 21, 2025
1 parent 3ed1be3 commit d9758d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ services:
ports:
- "3000:3000"
environment:
VITE_API_URL: truth-machine-backend:3030
VITE_API_URL: http://truth-machine-backend:3030

truth-machine-backend:
build:
Expand Down
2 changes: 1 addition & 1 deletion quickstart.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ npm install

echo "Creating .env file in front directory..."
cat <<EOF > .env
VITE_API_URL=localhost:3030 # update this if you're running the api on some domain
VITE_API_URL=http://localhost:3030 # update this if you're running the api on some domain
EOF

cd ..
Expand Down

0 comments on commit d9758d9

Please sign in to comment.