Skip to content

Commit

Permalink
Change back end link to production link
Browse files Browse the repository at this point in the history
  • Loading branch information
Van-Nice committed Jun 27, 2024
1 parent ca6fa04 commit 8aefcee
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions scripts/script.js
Original file line number Diff line number Diff line change
@@ -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}`);
Expand Down

0 comments on commit 8aefcee

Please sign in to comment.