Skip to content

Commit c4185a5

Browse files
authored
test(types): add missing anchors (#529)
Signed-off-by: Frazer Smith <[email protected]>
1 parent 99ca884 commit c4185a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types/index.test-d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ const options: FastifyStaticOptions = {
6767
return true
6868
},
6969
constraints: {
70-
host: /.*\.example\.com/,
70+
host: /^.*\.example\.com$/,
7171
version: '1.0.2'
7272
},
7373
logLevel: 'warn'

0 commit comments

Comments
 (0)