diff --git a/src/server.js b/src/server.js index 169d1d2..b26e4ba 100644 --- a/src/server.js +++ b/src/server.js @@ -10,7 +10,7 @@ if (fs.existsSync('.env.local')) { } const ALL_CONTRACTS = require('../data/contracts'); -const db = new Database('./storage/sqlite.db'); +const db = new Database('./storage/sqlite.db', {readonly: true}); const app = express(); const port = process.env.PORT || 3000;