Skip to content

Commit f4d20a9

Browse files
committed
feat(audits/server): Support functions for the url option
Closes #24
1 parent 6029c61 commit f4d20a9

File tree

2 files changed

+67
-51
lines changed

2 files changed

+67
-51
lines changed

docs/interfaces/audits_server.ServerAuditOptions.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ ___
3131

3232
### url
3333

34-
**url**: `string`
34+
**url**: `string` \| () => `string` \| `Promise`<`string`\>
3535

3636
The URL of the GraphQL server for the audit.
37+
38+
A function can be also supplied, in this case -
39+
every audit will invoke the function to get the URL.

0 commit comments

Comments
 (0)