7 lines
180 B
JavaScript
7 lines
180 B
JavaScript
import {mande} from "mande";
|
|
|
|
const spider = mande('/api/v1/spider')
|
|
|
|
export const GetSpiderCfg = ()=> spider.get("cfg")
|
|
|
|
export const SetSpiderCfg = (cfg)=> spider.post("cfg",cfg) |