Browse Source

fix imports

pull/2418/head
Ian Foster 6 months ago
parent
commit
a62b8da57b
  1. 1
      src/server/utils/WireGuard.ts
  2. 2
      src/server/utils/types.ts

1
src/server/utils/WireGuard.ts

@ -2,7 +2,6 @@ import fs from 'node:fs/promises';
import debug from 'debug';
import { encodeQR } from 'qr';
import type { InterfaceType } from '#db/repositories/interface/types';
import { firewall } from './firewall';
const WG_DEBUG = debug('WireGuard');

2
src/server/utils/types.ts

@ -2,7 +2,7 @@ import type { ZodSchema } from 'zod';
import z from 'zod';
import type { H3Event, EventHandlerRequest } from 'h3';
import { isIP } from 'is-ip';
import { default as isCidr } from 'is-cidr';
import isCidr from 'is-cidr';
export type ID = number;

Loading…
Cancel
Save