parent
0813bbec82
commit
6e4a683521
@ -103,12 +103,14 @@ return view.extend({
|
|||||||
// create link
|
// create link
|
||||||
const link = document.createElement('a');
|
const link = document.createElement('a');
|
||||||
link.href = url;
|
link.href = url;
|
||||||
link.download = 'nikki_debug.md';
|
link.download = 'debug.md';
|
||||||
|
// append to body
|
||||||
document.body.appendChild(link);
|
document.body.appendChild(link);
|
||||||
// download
|
// download
|
||||||
link.click();
|
link.click();
|
||||||
// clean up
|
// remove from body
|
||||||
document.body.removeChild(link);
|
document.body.removeChild(link);
|
||||||
|
// revoke url
|
||||||
window.URL.revokeObjectURL(url);
|
window.URL.revokeObjectURL(url);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
"/etc/nikki/run/providers/proxy/*": ["write"],
|
"/etc/nikki/run/providers/proxy/*": ["write"],
|
||||||
"/etc/nikki/nftables/reserved_ip.nft": ["write"],
|
"/etc/nikki/nftables/reserved_ip.nft": ["write"],
|
||||||
"/etc/nikki/nftables/reserved_ip6.nft": ["write"],
|
"/etc/nikki/nftables/reserved_ip6.nft": ["write"],
|
||||||
"/var/log/nikki/*.log": ["read"]
|
"/var/log/nikki/*.log": ["write"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user