Skip to content

Commit

Permalink
arreglo analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
NicoRedondoo committed Apr 21, 2024
1 parent 96bc31d commit 105d39c
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions front/src/routes/analytics/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,13 @@
import { onMount } from 'svelte';
// Define las URLs de las dos APIs
const youtubeTrendsAPI = 'http://localhost:10002/api/v1/youtube-trends';
const ufcAPI = 'http://localhost:10002/api/v2/ufc-events-data';
let ufcAPI = "/api/v2/ufc-events-data";
let youtubeTrendsAPI = '/api/v1/youtube-trends';
if (dev)
ufcAPI = "http://localhost:10002" + ufcAPI;
youtubeTrendsAPI = 'http://localhost:10002' + youtubeTrendsAPI;
let countryData = [];
Expand Down

0 comments on commit 105d39c

Please sign in to comment.