Selaa lähdekoodia

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

Haotian Zou 11 kuukautta sitten
vanhempi
commit
f63b4d5c29
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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',
   })