Skip to content

Commit

Permalink
update url_api
Browse files Browse the repository at this point in the history
  • Loading branch information
Elto Borges authored and Elto Borges committed Aug 21, 2024
1 parent 42a0463 commit 293e5d3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/javascript/askscript.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
const URL_API = location.hostname === "localhost" || location.hostname === "127.0.0.1" ?
"http://localhost:3000" : "https://ugym-backend.onrender.com";


document.addEventListener("DOMContentLoaded", () => {
const steps = Array.from(document.querySelectorAll(".ask-form-step"));
const continueButtons = document.querySelectorAll(".ask-continue-button");
Expand Down

0 comments on commit 293e5d3

Please sign in to comment.