mirror of
https://github.com/wg-easy/wg-easy.git
synced 2026-10-24 07:41:16 +00:00
parent
32b73b850a
commit
9df049d3f4
1 changed files with 8 additions and 0 deletions
|
|
@ -1,4 +1,12 @@
|
|||
export default defineNitroPlugin((nitroApp) => {
|
||||
console.log(`====================================================`);
|
||||
console.log(` wg-easy - https://github.com/wg-easy/wg-easy `);
|
||||
console.log(`====================================================`);
|
||||
console.log(`| wg-easy: ${RELEASE.padEnd(38)} |`);
|
||||
console.log(`| Node: ${process.version.padEnd(38)} |`);
|
||||
console.log(`| Platform: ${process.platform.padEnd(38)} |`);
|
||||
console.log(`| Arch: ${process.arch.padEnd(38)} |`);
|
||||
console.log(`====================================================`);
|
||||
nitroApp.hooks.hook('close', async () => {
|
||||
console.log('Shutting down');
|
||||
await WireGuard.Shutdown();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue