feat: 添加 cloudflare_pages、mysql_d1_backup_scheduler,更新 start_system、ensemble_models 及配置文件
This commit is contained in:
1 parent
6184c34a3a
commit
62110554d1
20 files changed
+1438
-19
No files matched your search
@@ -0,0 +1,15 @@
|
||||
function json(data, status = 200) {
|
||||
return new Response(JSON.stringify(data), {
|
||||
status,
|
||||
headers: { "content-type": "application/json; charset=UTF-8" },
|
||||
});
|
||||
}
|
||||
|
||||
export async function onRequestGet(context) {
|
||||
return json({
|
||||
success: true,
|
||||
status: "running",
|
||||
server_time: new Date().toISOString(),
|
||||
version: "pages-1.0.0",
|
||||
});
|
||||
}
|
||||
Reference in new issue
Block a user