add ads option

This commit is contained in:
Harvey committed 2021-12-23 12:34:13 +08:00
1 parent fe0e46212f
commit 0048991f7e
6 files changed
+31 -1

No files matched your search

+10
View File
@@ -305,6 +305,16 @@ type Option = {
*/
whitelist?: (string | WhitelistFunction | RegExp)[];
/**
* Custom ads list
*/
ads?: {
/**
* The ads video url
*/
url: string;
}[];
/**
* Custom layer list
*/