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}`);