修改api路径错误

This commit is contained in:
2026-06-20 21:56:26 +08:00
parent 42b781aa03
commit 8ea65703a1
+1 -1
View File
@@ -256,7 +256,7 @@ const controlScan = async (action: 'start' | 'stop') => {
addLog('info', `正在${actionText}扫描...`)
try {
const response = await axios.post('/api/scanctrl', {
const response = await axios.post('/scanctrl', {
action: action
})