feat: refine type definitions and improve request handling in API layer

This commit is contained in:
2026-02-25 17:44:49 +00:00
parent 3b84e49383
commit 74bb860d4f
6 changed files with 36 additions and 34 deletions

View File

@@ -6,7 +6,6 @@ const apiClientBaseURL = "/api/"
const cryptchaSiteId = "6628f06a0938460001505119"
// @ts-ignore
if (release && typeof context !== "undefined") {
context.response.header("X-Release", release)
context.response.header("X-Build-Time", buildTime)