feat: 网站增加防盗链设置 (#1151)

Refs https://github.com/1Panel-dev/1Panel/issues/1149
This commit is contained in:
zhengkunwang223
2023-05-26 02:40:21 +00:00
committed by GitHub
parent d62f566bb3
commit e70ec0e978
13 changed files with 513 additions and 5 deletions
+18
View File
@@ -365,4 +365,22 @@ export namespace Website {
password: string;
remark: string;
}
export interface LeechConfig {
enable: boolean;
cache: boolean;
cacheTime: number;
cacheUint: string;
extends: string;
return: string;
serverNames: string[];
noneRef: boolean;
logEnable: boolean;
blocked: boolean;
websiteID?: number;
}
export interface LeechReq {
websiteID: number;
}
}