Jelajahi Sumber

fix: change absolute path to relative path (#4038)

Haotian Zou 11 bulan lalu
induk
melakukan
f63b4d5c29
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      web/frps/src/components/ProxyView.vue

+ 1 - 1
web/frps/src/components/ProxyView.vue

@@ -111,7 +111,7 @@ const formatTrafficOut = (row: BaseProxy, _: TableColumnCtx<BaseProxy>) => {
 }
 
 const clearOfflineProxies = () => {
-  fetch('/api/proxies?status=offline', {
+  fetch('../api/proxies?status=offline', {
     method: 'DELETE',
     credentials: 'include',
   })