Skip to content

Commit

Permalink
🔧 Use env var for database URL
Browse files Browse the repository at this point in the history
  • Loading branch information
homostellaris committed Nov 3, 2024
1 parent 22b8a8a commit bf54a14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/db.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export class DexieStarfocus extends Dexie {
todos: '@id, createdAt, completedAt, starRole, title',
})
this.cloud.configure({
databaseUrl: 'https://z0vnq74nz.dexie.cloud',
databaseUrl: process.env.NEXT_PUBLIC_DATABASE_URL!,
requireAuth: false,
})
}
Expand Down

0 comments on commit bf54a14

Please sign in to comment.