fix: fix missing fields in database initialization
This commit is contained in:
@@ -597,9 +597,7 @@ const dbInit = {
|
|||||||
title TEXT NOT NULL,
|
title TEXT NOT NULL,
|
||||||
auto_refresh INTEGER NOT NULL,
|
auto_refresh INTEGER NOT NULL,
|
||||||
register_verify INTEGER NOT NULL,
|
register_verify INTEGER NOT NULL,
|
||||||
add_email_verify INTEGER NOT NULL,
|
add_email_verify INTEGER NOT NULL
|
||||||
ai_code INTEGER NOT NULL DEFAULT 1,
|
|
||||||
ai_code_filter TEXT NOT NULL DEFAULT ''
|
|
||||||
)
|
)
|
||||||
`).run();
|
`).run();
|
||||||
|
|
||||||
|
|||||||
@@ -402,8 +402,6 @@ const emailService = {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
console.error(sendForm)
|
|
||||||
|
|
||||||
const result = await c.env.email.send(sendForm);
|
const result = await c.env.email.send(sendForm);
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|||||||
@@ -31,8 +31,8 @@ directory = "./dist"
|
|||||||
not_found_handling = "single-page-application"
|
not_found_handling = "single-page-application"
|
||||||
run_worker_first = true
|
run_worker_first = true
|
||||||
|
|
||||||
[[send_email]]
|
#[[send_email]]
|
||||||
name = "email"
|
#name = "email"
|
||||||
|
|
||||||
|
|
||||||
[vars]
|
[vars]
|
||||||
|
|||||||
Reference in New Issue
Block a user