From 411c58fa22a03e6349e232b599177d7434caa659 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Fl=C3=BCckiger?= <91982622+JoFlucki@users.noreply.github.com> Date: Fri, 22 Mar 2024 08:52:49 +0100 Subject: [PATCH] Changed localhost to server url --- .github/workflows/deployment.yml | 2 +- frontend/src/views/AddTournamentView.vue | 4 ++-- frontend/src/views/ManageTournamentsView.vue | 2 +- frontend/src/views/TournamentDetailsView.vue | 2 +- frontend/src/views/TournamentsView.vue | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index 71b27ca..ce0dce6 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -6,7 +6,7 @@ on: - main jobs: - test: + deploy: runs-on: ubuntu-latest steps: diff --git a/frontend/src/views/AddTournamentView.vue b/frontend/src/views/AddTournamentView.vue index 356d476..361d75d 100644 --- a/frontend/src/views/AddTournamentView.vue +++ b/frontend/src/views/AddTournamentView.vue @@ -20,7 +20,7 @@ const addTournament = () => { }; axios.post( - "http://localhost:8000/api/tournaments/ ", + "https://api-arconnect.k8s.ing.he-arc.ch/api/tournaments/ ", data ).then(() => { router.push({ name: "manageTournaments" }) @@ -31,7 +31,7 @@ const addTournament = () => {