Minor bugfix since getline adds an extra char to the string
move hardcoded databaseURI into the config
This commit is contained in:
@ -30,7 +30,9 @@ int main(int argc, char *argv[]) {
|
||||
// return crow::json::wvalue x({{"message", rows[0][0].as<int>();}});
|
||||
// });
|
||||
|
||||
string databaseURI = "postgresql://cavecommadmin:cavecomm@localhost:5432/cavecomm";
|
||||
|
||||
|
||||
string databaseURI = configuration.databaseConnectionString;
|
||||
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user