t161+t162(Arcrun@9f777ff):/health 吐 bundle_version(解假警報迴圈)+portal session 過期說原因
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -9876,10 +9876,12 @@ init_virtual_unenv_global_polyfill_cloudflare_unenv_preset_node_console();
|
||||
init_performance2();
|
||||
init_dist();
|
||||
var healthRouter = new Hono2();
|
||||
healthRouter.get(
|
||||
"/health",
|
||||
(c) => c.json({ ok: true })
|
||||
);
|
||||
healthRouter.get("/health", (c) => {
|
||||
const bundleVersion = c.env.ARCRUN_BUNDLE_VERSION;
|
||||
return c.json(
|
||||
bundleVersion ? { ok: true, bundle_version: bundleVersion } : { ok: true }
|
||||
);
|
||||
});
|
||||
healthRouter.get(
|
||||
"/",
|
||||
(c) => c.json({
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user