瀏覽代碼

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

Haotian Zou 11 月之前
父節點
當前提交
f63b4d5c29
共有 1 個文件被更改,包括 1 次插入1 次删除
  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',
   })