Skip to content

Commit

Permalink
chore: Update Dockerfile to fix port mapping for frontend container
Browse files Browse the repository at this point in the history
  • Loading branch information
nilgaar committed Jul 20, 2024
1 parent 66731a9 commit 8706373
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/run_frontent.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ docker rm $APP_NAME
docker build -t $APP_NAME .

# Run the new Docker container
docker run -d --name $APP_NAME -p 8080:82 $APP_NAME
docker run -d --name $APP_NAME -p 8081:8080 $APP_NAME

cd ..
rm -rf ./backend
2 changes: 1 addition & 1 deletion frontend/src/components/HelloWorld.vue
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const files = ref([]);
async function hashPassword() {
const hashedPassword = sha3_512(password.value);
console.log(hashedPassword);
fetch("http://localhost:8080?hash=" + hashedPassword)
fetch("http://api.checker.pops.cafe?hash=" + hashedPassword)
.then((response) => response.json())
.then((data) => {
console.log(data);
Expand Down

0 comments on commit 8706373

Please sign in to comment.