Skip to content

Commit 985a2c3

Browse files
committed
fix(node): more permissive domain check
1 parent 93ccf0a commit 985a2c3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/node.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
type Protocol = "http" | "https";
2-
type Domain = `${string}.${string}` | `localhost`;
2+
type Domain = "localhost" | (string & {});
33
type Port = `:${number}`;
44
type Path = `/${string}${string}`;
55

0 commit comments

Comments
 (0)