refactor: display id-cards in their own modal

This commit is contained in:
Rainer Killinger
2024-06-05 11:07:30 +00:00
committed by Thea Schöbl
parent a6b88d3534
commit 341b209092
12 changed files with 273 additions and 74 deletions

View File

@@ -0,0 +1,8 @@
import {networkInterfaces} from 'os';
console.log(
Object.entries(networkInterfaces())
.map(([, info]) => info)
.flat()
.find(info => info && !info.internal && info.family === 'IPv4')?.address,
);