From 8aefcee08f57c9793e0798858028f9b4bd7a910e Mon Sep 17 00:00:00 2001 From: Van-Nice Date: Thu, 27 Jun 2024 15:39:33 -0600 Subject: [PATCH] Change back end link to production link --- scripts/script.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/script.js b/scripts/script.js index 04c2336..67c37a6 100644 --- a/scripts/script.js +++ b/scripts/script.js @@ -1,8 +1,7 @@ import { updateWeather } from './weather.js'; import { updateTime } from './timeDate.js'; -// https://weather-app-server-staging-e194f8aa2d04.herokuapp.com/ -// This is unsecure fix at some point!!! -const API_BASE_URL = 'https://weather-app-server-staging-e194f8aa2d04.herokuapp.com'; + +const API_BASE_URL = 'https://weather-app-server-d5459d7e5648.herokuapp.com/'; async function startWeather(latitude, longitude) { try { const response = await fetch(`${API_BASE_URL}/start-weather-data?coords=${latitude},${longitude}`);