import { c as defineEventHandler } from '../../_/nitro.mjs';
import { g as getPrimaryIp } from '../../_/network.mjs';
import 'node:http';
import 'node:https';
import 'node:events';
import 'node:buffer';
import 'node:fs';
import 'node:path';
import 'node:crypto';
import 'node:url';
import 'os';

const localIp_get = defineEventHandler(() => {
  var _a;
  const ip = getPrimaryIp();
  return (_a = ip == null ? void 0 : ip.address) != null ? _a : "";
});

export { localIp_get as default };
//# sourceMappingURL=local-ip.get.mjs.map
