Add observability log to server.ts
This commit is contained in:
@@ -31,7 +31,9 @@ const server = Bun.serve({
|
|||||||
port,
|
port,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
bunext.bunextLog.info(`env: ${process.env.NODE_ENV}`);
|
||||||
bunext.bunextLog.build(`Setting up wireguard ...`);
|
bunext.bunextLog.build(`Setting up wireguard ...`);
|
||||||
|
|
||||||
execSync(path.join(__dirname, "scripts", "install-wg-ui.sh"), {
|
execSync(path.join(__dirname, "scripts", "install-wg-ui.sh"), {
|
||||||
stdio: "ignore",
|
stdio: "ignore",
|
||||||
env: {
|
env: {
|
||||||
|
|||||||
Reference in New Issue
Block a user