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

This commit is contained in:
Haotian Zou 2024-03-03 22:57:17 +08:00 committed by GitHub
parent b3946489dd
commit f63b4d5c29
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

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