Skip to content

Commit 0a473d4

Browse files
committed
Change default location of database file
Attempting to create the database file in `/usr/src` fails due to lack of permissions and is inappropriate for a dev environment in general. The best approach is to simply keep it close to source files.
1 parent 3a8a906 commit 0a473d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: lib/configuration/sample.config.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"url": "https://overrustlelogs.net"
1717
},
1818
"sql": {
19-
"fileLocation": "/usr/src/app/database/bot.db"
19+
"fileLocation": "./bot.db"
2020
},
2121
"chatCache": {
2222
"messagesToKeepPerUser": 10,

0 commit comments

Comments
 (0)