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