mirror of
https://github.com/fatedier/frp.git
synced 2026-04-22 00:49:10 +08:00
web: support to clear offline proxies data on dashboard (#3963)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<ProxyView :proxies="proxies" proxyType="https" />
|
||||
<ProxyView :proxies="proxies" proxyType="https" @refresh="fetchData"/>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
@@ -27,6 +27,7 @@ const fetchData = () => {
|
||||
return res.json()
|
||||
})
|
||||
.then((json) => {
|
||||
proxies.value = []
|
||||
for (let proxyStats of json.proxies) {
|
||||
proxies.value.push(
|
||||
new HTTPSProxy(proxyStats, vhostHTTPSPort, subdomainHost)
|
||||
|
||||
Reference in New Issue
Block a user