Don't allow configuration of dbFile path or name; use the DATADIR and a hardcoded path
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user