fix: change absolute path to relative path

This commit is contained in:
ChrisKim 2024-03-02 20:19:52 +08:00
parent b3946489dd
commit 103f85522e
No known key found for this signature in database
GPG Key ID: 9D08101BC21C3016

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',
}) })