mirror of https://github.com/cloudreve/Cloudreve
feat: platform self-adaptation for file viewer application (#2603)
parent
17fc598fb3
commit
a0aefef691
|
@ -286,6 +286,7 @@ type Viewer struct {
|
||||||
MaxSize int64 `json:"max_size,omitempty"`
|
MaxSize int64 `json:"max_size,omitempty"`
|
||||||
Disabled bool `json:"disabled,omitempty"`
|
Disabled bool `json:"disabled,omitempty"`
|
||||||
Templates []NewFileTemplate `json:"templates,omitempty"`
|
Templates []NewFileTemplate `json:"templates,omitempty"`
|
||||||
|
Platform string `json:"platform,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type ViewerGroup struct {
|
type ViewerGroup struct {
|
||||||
|
|
Loading…
Reference in New Issue