Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,16 @@ USE_MOCK_DATA=true

# Supabase Events API (Geode Labs)
# SUPABASE_EVENTS_KEY=your-supabase-publishable-key

# Netlify Blobs (data-layer storage)
# Required when USE_MOCK_DATA=false to read/write data from Netlify Blobs
# SITE_ID=your-netlify-site-id
# NETLIFY_BLOBS_TOKEN=your-netlify-blobs-token

# Trigger.dev (scheduled tasks)
# TRIGGER_PROJECT_REF=your-trigger-project-ref

# Sentry (error tracking)
# Used by trigger.dev tasks and Next.js app for error monitoring
# NEXT_PUBLIC_SENTRY_DSN=your-sentry-dsn
# NEXT_PUBLIC_CONTEXT=development
2 changes: 1 addition & 1 deletion src/data-layer/storage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ let blobStore: ReturnType<typeof getStore> | null = null
function getBlobs() {
if (blobStore) return blobStore

const siteID = process.env.SITE_ID
const siteID = process.env.NETLIFY_SITE_ID || process.env.SITE_ID
const token = process.env.NETLIFY_BLOBS_TOKEN

if (!siteID || !token) {
Expand Down
2 changes: 1 addition & 1 deletion trigger.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { defineConfig } from "@trigger.dev/sdk/v3"
* See https://trigger.dev/docs for documentation.
*/
export default defineConfig({
project: process.env.TRIGGER_PROJECT_ID || "",
project: process.env.TRIGGER_PROJECT_REF!,
runtime: "node",
logLevel: "log",
// Maximum duration for all tasks (5 minutes)
Expand Down