Change Database
This commit is contained in:
17
create_env.js
Normal file
17
create_env.js
Normal file
@@ -0,0 +1,17 @@
|
||||
const fs = require('fs');
|
||||
|
||||
// Supabase credentials
|
||||
const supabaseUrl = 'https://avfoewfplaplaejjhiiv.supabase.co';
|
||||
const supabaseKey = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6ImF2Zm9ld2ZwbGFwbGFlampoaWl2Iiwicm9sZSI6ImFub24iLCJpYXQiOjE3NTAyNjM2NDUsImV4cCI6MjA2NTgzOTY0NX0._46bKpp95xLN6tkCPRCVNeVBSO-QyvOBPw-jTb74_0o';
|
||||
|
||||
// Create .env.local content
|
||||
const envContent = `NEXT_PUBLIC_SUPABASE_URL=${supabaseUrl}
|
||||
NEXT_PUBLIC_SUPABASE_ANON_KEY=${supabaseKey}
|
||||
`;
|
||||
|
||||
// Write to file
|
||||
fs.writeFileSync('.env.local', envContent);
|
||||
|
||||
console.log('✅ .env.local file created successfully!');
|
||||
console.log('Content:');
|
||||
console.log(envContent);
|
||||
Reference in New Issue
Block a user