*Reformat
This commit is contained in:
parent
070b7825e2
commit
20e9511eae
|
@ -14,8 +14,7 @@ config.load({
|
|||
});
|
||||
try {
|
||||
config.open("config.conf");
|
||||
} catch (e) {
|
||||
}
|
||||
} catch (e) {}
|
||||
|
||||
for (const setting of ["relay-domain", "afraid-username", "relay-seed"]) {
|
||||
if (!config.get(setting)) {
|
||||
|
|
|
@ -102,7 +102,7 @@ async function processRequest(request: RPCRequest): Promise<RPCResponse> {
|
|||
method: request.query,
|
||||
jsonrpc: "2.0",
|
||||
params: request.data,
|
||||
id: 1
|
||||
id: 1,
|
||||
} as unknown as JSONRPCRequest,
|
||||
request.chain
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue