Don't allow configuration of dbFile path or name; use the DATADIR and a hardcoded path

This commit is contained in:
2024-02-17 08:41:39 -06:00
parent f065300113
commit 0e8144b82c
6 changed files with 15 additions and 20 deletions

View File

@@ -33,8 +33,8 @@ appPort = getEnv "APPLICATIONPORT"
dataPath :: IO String
dataPath = getEnv "DATADIR"
dbPath :: IO String
dbPath = getEnv "DBFILE"
dbPath :: String
dbPath = "data/Purr.sqlite"
confLinkLength :: IO String
confLinkLength = getEnv "LINKLENGTH"