fix(chat): add SSE padding to bypass proxy buffering
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
require('dotenv').config();
|
||||
const { createClient } = require('@supabase/supabase-js');
|
||||
const supabase = createClient(process.env.SUPABASE_URL, process.env.SUPABASE_SERVICE_ROLE_KEY);
|
||||
async function run() {
|
||||
const { data, error } = await supabase.from('analyses').select('*').order('created_at', { ascending: false }).limit(3);
|
||||
console.log(JSON.stringify(data, null, 2));
|
||||
console.error(error);
|
||||
}
|
||||
run();
|
||||
Reference in New Issue
Block a user