Remove comment
This commit is contained in:
parent
0547455377
commit
47c36be218
1 changed files with 0 additions and 1 deletions
|
@ -11,7 +11,6 @@ module.exports = (router) => {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
mode: 'cors',
|
mode: 'cors',
|
||||||
});
|
});
|
||||||
// const res = await fetch('http://c-beam.cbrp3.c-base.org:4254/rpc/;, {"credentials":"omit","headers":{"content-type":"application/json"},"referrerPolicy":"no-referrer-when-downgrade","body":`{\"jsonrpc\":\"2.0\",\"id\":1550009052773,\"method\":\"${ctx.params.method}\",\"params\":\"\"}`,"method":"POST","mode":"cors"});
|
|
||||||
ctx.assert((res.status === 200), res.status);
|
ctx.assert((res.status === 200), res.status);
|
||||||
const body = await res.json();
|
const body = await res.json();
|
||||||
ctx.body = body;
|
ctx.body = body;
|
||||||
|
|
Loading…
Reference in a new issue