Feat: add ability to restart interface (#1740)
add ability to restart interface
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
export default definePermissionEventHandler('admin', 'any', async () => {
|
||||
await WireGuard.Restart();
|
||||
|
||||
return { success: true };
|
||||
});
|
||||
Reference in New Issue
Block a user