Skip to content

Commit 171e30f

Browse files
committed
fix(options): make safe url resolver optional and boolean
1 parent 0ac9f35 commit 171e30f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/types/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export interface HTTPResolverOptions<S extends object = JSONSchema> extends Part
4545
/**
4646
* Set this to `false` if you want to allow unsafe URLs (e.g., `127.0.0.1`, localhost, and other internal URLs).
4747
*/
48-
safeUrlResolver: true;
48+
safeUrlResolver?: boolean;
4949
}
5050

5151
/**

0 commit comments

Comments
 (0)