From 9df049d3f490d6b208ba37091c871a4e85a865f5 Mon Sep 17 00:00:00 2001 From: Bernd Storath <32197462+kaaax0815@users.noreply.github.com> Date: Tue, 1 Apr 2025 15:18:13 +0200 Subject: [PATCH] Feat: startup info (#1784) add startup info --- src/server/plugins/manager.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/server/plugins/manager.ts b/src/server/plugins/manager.ts index 314edd80..701e052e 100644 --- a/src/server/plugins/manager.ts +++ b/src/server/plugins/manager.ts @@ -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();