Skip to content

Commit

Permalink
Pass DB URL as env var to remix app
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin-dp committed Dec 12, 2024
1 parent bc5f8cd commit edd9762
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/remix/sst.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ export default $config({
ELECTRIC_URL: process.env.ELECTRIC_API!,
ELECTRIC_TOKEN: electricInfo.token,
DATABASE_ID: electricInfo.id,
DATABASE_URL: pgUri,
},
domain: {
name: `remix${isProduction($app.stage) ? `` : `-stage-${$app.stage}`}.examples.electric-sql.com`,
Expand Down

0 comments on commit edd9762

Please sign in to comment.