Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PIKACHUIM/CFWorkerACME
/ updateAcmeKey
Function
updateAcmeKey
frontend/src/api/user.ts:7–10 ·
view source on GitHub ↗
(privateKey: string)
Source
from the content-addressed store, hash-verified
5
* 更新 ACME 私钥
6
*/
7
export
async
function
updateAcmeKey(privateKey: string): Promise<boolean> {
8
const
data =
await
apiPost<ApiResp>(
'/acmes/'
, { privateKey });
9
return
data.flags === 0;
10
}
11
12
/**
13
* 更新 API Token
Callers
1
handleSave
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected