add: POST schedules/list

fix: CORS
This commit is contained in:
Tobias Reisinger 2020-06-14 00:14:13 +02:00
parent a78815cb32
commit 309f2fbb52
5 changed files with 190 additions and 7 deletions

3
main.c
View file

@ -81,7 +81,8 @@ main(int argc, const char** argv)
int rc = sqlite3_open(global_config.database, &global_database);
if(rc) {
if(rc)
{
LOG_FATAL("can't open database: %s\n", sqlite3_errmsg(global_database));
return 1;
}