Skip to content

Commit

Permalink
another test
Browse files Browse the repository at this point in the history
  • Loading branch information
brandon-pereira committed Oct 19, 2023
1 parent 3edc341 commit 700d3c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/database.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export interface Database {
mongoose.set('strictQuery', false);

export const MONGO_CONNECTION_URL =
process.env.MONGO_URL || `mongodb://127.0.0.1/${process.env.DATABASE_NAME || 'betterdo'}`;
process.env.MONGO_URL || `mongodb://0.0.0.0/${process.env.DATABASE_NAME || 'betterdo'}`;

export async function connect(): Promise<void> {
await mongoose.connect(MONGO_CONNECTION_URL || '');
Expand Down

0 comments on commit 700d3c6

Please sign in to comment.