add: CORS and OPTIONS

add: 'off' schedule in db init
add: copy db to build dir
This commit is contained in:
Tobias Reisinger 2019-09-08 23:24:31 +02:00
parent e93ea44350
commit 8679bfe680
7 changed files with 32 additions and 59 deletions

View file

@ -36,3 +36,5 @@ create table schedules
name VARCHAR(128),
periods BLOB
);
INSERT INTO schedules (id, name, periods) VALUES ('off', 'off', x'00');