add: POST schedules/list
fix: CORS
This commit is contained in:
parent
a78815cb32
commit
309f2fbb52
5 changed files with 190 additions and 7 deletions
3
main.c
3
main.c
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue