Skip to content

Commit

Permalink
adding supabase, need to checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
sahil-lalani committed Sep 21, 2024
1 parent 5c651f9 commit d9af57b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
"@radix-ui/react-toast": "^1.2.1",
"@radix-ui/react-tooltip": "^1.1.2",
"@reduxjs/toolkit": "^2.2.5",
"@supabase/supabase-js": "^2.45.1",
"@supabase/supabase-js": "^2.45.4",
"@tailwindcss/aspect-ratio": "^0.4.2",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
Expand Down
8 changes: 8 additions & 0 deletions src/main/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,14 @@ ipcMain.handle('get-typesense-api-key', async () => {
return process.env.TYPESENSE_API_KEY;
});

ipcMain.handle('get-supabase-url', async () => {
return process.env.SUPABASE_URL;
});

ipcMain.handle('get-supabase-anon-key', async () => {
return process.env.SUPABASE_ANON_KEY;
});

ipcMain.handle('get-scrapers', async () => {
let scrapersDir;
if (app.isPackaged) {
Expand Down

0 comments on commit d9af57b

Please sign in to comment.