Skip to content

Commit

Permalink
set correct db path (#158)
Browse files Browse the repository at this point in the history
* set correct db path

* remove unecessary path join
  • Loading branch information
Magnus Alexander Strømseng authored and GitHub committed Mar 20, 2024
1 parent 5d3ed66 commit 40411a8
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions backend/config/env/production/database.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
const path = require("path");

module.exports = ({ env }) => ({
connection: {
client: "sqlite",
connection: {
filename: env("DATABASE_FILENAME", "/tmp/outreach-strapi.db"),
},
useNullAsDefault: true,
},
});

0 comments on commit 40411a8

Please sign in to comment.