修改api路径错误
This commit is contained in:
@@ -256,7 +256,7 @@ const controlScan = async (action: 'start' | 'stop') => {
|
|||||||
addLog('info', `正在${actionText}扫描...`)
|
addLog('info', `正在${actionText}扫描...`)
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const response = await axios.post('/api/scanctrl', {
|
const response = await axios.post('/scanctrl', {
|
||||||
action: action
|
action: action
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user