Skip to content

Commit

Permalink
Remove trailing slash from backend url
Browse files Browse the repository at this point in the history
  • Loading branch information
Van-Nice committed Jun 27, 2024
1 parent 8aefcee commit c792f79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/script.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { updateWeather } from './weather.js';
import { updateTime } from './timeDate.js';

const API_BASE_URL = 'https://weather-app-server-d5459d7e5648.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 c792f79

Please sign in to comment.