mirror of
https://github.com/itdoginfo/podkop.git
synced 2026-08-08 19:45:16 +03:00
feat: add base clash api methods
This commit is contained in:
@@ -12,6 +12,21 @@ const EntryNode = {
|
||||
async render() {
|
||||
main.injectGlobalStyles();
|
||||
|
||||
main.getClashVersion()
|
||||
.then(result => console.log('getClashVersion - then', result))
|
||||
.catch(err => console.log('getClashVersion - err', err))
|
||||
.finally(() => console.log('getClashVersion - finish'));
|
||||
|
||||
main.getClashConfig()
|
||||
.then(result => console.log('getClashConfig - then', result))
|
||||
.catch(err => console.log('getClashConfig - err', err))
|
||||
.finally(() => console.log('getClashConfig - finish'));
|
||||
|
||||
main.getClashProxies()
|
||||
.then(result => console.log('getClashProxies - then', result))
|
||||
.catch(err => console.log('getClashProxies - err', err))
|
||||
.finally(() => console.log('getClashProxies - finish'));
|
||||
|
||||
const podkopFormMap = new form.Map('podkop', '', null, ['main', 'extra']);
|
||||
|
||||
// Main Section
|
||||
|
||||
Reference in New Issue
Block a user