2 Incheckningar 6c4193faa1 ... c020d9b23d

Upphovsman SHA1 Meddelande Datum
  gpt-engineer-app[bot] c020d9b23d Update frontend to new domain 4 timmar sedan
  gpt-engineer-app[bot] 0f14de57a5 Switch to data.duhaz.fr 4 timmar sedan
2 ändrade filer med 2 tillägg och 2 borttagningar
  1. 1 1
      src/integrations/supabase/client.ts
  2. 1 1
      src/utils/youtube.ts

+ 1 - 1
src/integrations/supabase/client.ts

@@ -2,7 +2,7 @@
 import { createClient } from '@supabase/supabase-js';
 import { createClient } from '@supabase/supabase-js';
 import type { Database } from './types';
 import type { Database } from './types';
 
 
-const SUPABASE_URL = "http://192.168.1.244:8000";
+const SUPABASE_URL = "https://data.duhaz.fr";
 const SUPABASE_PUBLISHABLE_KEY = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6IndmdHl1a3VnZWR0b2ppemdhdHdqIiwicm9sZSI6ImFub24iLCJpYXQiOjE3NDkzNjIxNTEsImV4cCI6MjA2NDkzODE1MX0.KflrS6WiGksws1nO8NDm5i_Dav4u2JDSuEYtEnmKCRE";
 const SUPABASE_PUBLISHABLE_KEY = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6IndmdHl1a3VnZWR0b2ppemdhdHdqIiwicm9sZSI6ImFub24iLCJpYXQiOjE3NDkzNjIxNTEsImV4cCI6MjA2NDkzODE1MX0.KflrS6WiGksws1nO8NDm5i_Dav4u2JDSuEYtEnmKCRE";
 
 
 // Import the supabase client like this:
 // Import the supabase client like this:

+ 1 - 1
src/utils/youtube.ts

@@ -104,7 +104,7 @@ export const fetchYouTubeRSSUrl = async (url: string): Promise<{rssUrl: string,
       return null;
       return null;
     }
     }
 
 
-    const response = await fetch(`https://wftyukugedtojizgatwj.supabase.co/functions/v1/fetch-youtube-rss`, {
+    const response = await fetch(`https://data.duhaz.fr/functions/v1/fetch-youtube-rss`, {
       method: 'POST',
       method: 'POST',
       headers: {
       headers: {
         'Content-Type': 'application/json',
         'Content-Type': 'application/json',