release: dsh-infstarapi 0.2.0
CI / test (push) Canceled after 0s

This commit is contained in:
Coldsmile_7 committed 2026-11-26 08:24:56 +08:00
1 parent a8f689e39c
commit c340aec110
59 files changed
+1108 -1590

No files matched your search

+1 -1
View File
@@ -60,7 +60,7 @@ async function runningHost(t, { Context, Connection }, { withWebServer = true }
// node:http permits the hostile Host header needed to exercise rebinding
// rejection; Fetch can replace that forbidden header with the URL's host.
const request = (method = 'status', { payload = null, headers = {}, cookie = true, body } = {}) => new Promise((resolve, reject) => {
const outgoing = httpRequest(`${base}/geek2api/${method}`, {
const outgoing = httpRequest(`${base}/infstarapi/${method}`, {
method: 'POST',
headers: { 'content-type': 'application/json', ...(cookie ? { cookie: COOKIE } : {}), ...headers },
}, incoming => {