mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2026-10-06 16:00:24 +00:00
feat: 网站增加防盗链设置 (#1151)
Refs https://github.com/1Panel-dev/1Panel/issues/1149
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user