Merge pull request #503 from sxlmnwb/master

regex: enable consensus dumpurl on old code
This commit is contained in:
ping
2023-09-09 09:48:26 +08:00
committed by GitHub
3 changed files with 2043 additions and 2083 deletions
+2
View File
@@ -121,6 +121,7 @@ declare global {
const useArrayFilter: typeof import('@vueuse/core')['useArrayFilter']
const useArrayFind: typeof import('@vueuse/core')['useArrayFind']
const useArrayFindIndex: typeof import('@vueuse/core')['useArrayFindIndex']
const useArrayFindLast: typeof import('@vueuse/core')['useArrayFindLast']
const useArrayJoin: typeof import('@vueuse/core')['useArrayJoin']
const useArrayMap: typeof import('@vueuse/core')['useArrayMap']
const useArrayReduce: typeof import('@vueuse/core')['useArrayReduce']
@@ -423,6 +424,7 @@ declare module 'vue' {
readonly useArrayFilter: UnwrapRef<typeof import('@vueuse/core')['useArrayFilter']>
readonly useArrayFind: UnwrapRef<typeof import('@vueuse/core')['useArrayFind']>
readonly useArrayFindIndex: UnwrapRef<typeof import('@vueuse/core')['useArrayFindIndex']>
readonly useArrayFindLast: UnwrapRef<typeof import('@vueuse/core')['useArrayFindLast']>
readonly useArrayJoin: UnwrapRef<typeof import('@vueuse/core')['useArrayJoin']>
readonly useArrayMap: UnwrapRef<typeof import('@vueuse/core')['useArrayMap']>
readonly useArrayReduce: UnwrapRef<typeof import('@vueuse/core')['useArrayReduce']>
+2 -2
View File
@@ -93,9 +93,9 @@ async function onChange () {
}
async function fetchPosition() {
// let dumpurl = rpc.value.replace('consensus_state', 'dump_consensus_state');
let dumpurl = rpc.value.replace('consensus_state', 'dump_consensus_state');
try {
const response = await fetch(rpc.value);
const response = await fetch(dumpurl);
if (!response.ok) {
throw new Error(`HTTP error: ${response.status}`);
}
+2039 -2081
View File
File diff suppressed because it is too large Load Diff