mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-23 15:11:12 -05:00
Refactor: Replace hardcoded Supabase URLs
This commit is contained in:
@@ -35,8 +35,9 @@ export function NovuMigrationUtility() {
|
||||
throw new Error('You must be logged in to run the migration');
|
||||
}
|
||||
|
||||
const supabaseUrl = import.meta.env.VITE_SUPABASE_URL || 'https://api.thrillwiki.com';
|
||||
const response = await fetch(
|
||||
'https://ydvtmnrszybqnbcqbdcy.supabase.co/functions/v1/migrate-novu-users',
|
||||
`${supabaseUrl}/functions/v1/migrate-novu-users`,
|
||||
{
|
||||
method: 'POST',
|
||||
headers: {
|
||||
|
||||
Reference in New Issue
Block a user