Feat: support custom office preview service (Fix #1050)

This commit is contained in:
HFO4
2021-11-22 20:16:24 +08:00
parent 9fc08292a0
commit 7fd984f95d
3 changed files with 11 additions and 8 deletions

View File

@ -189,6 +189,7 @@ Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; verti
{Name: "pwa_display", Value: "standalone", Type: "pwa"},
{Name: "pwa_theme_color", Value: "#000000", Type: "pwa"},
{Name: "pwa_background_color", Value: "#ffffff", Type: "pwa"},
{Name: "office_preview_service", Value: "https://view.officeapps.live.com/op/view.aspx?src={$src}", Type: "preview"},
}
for _, value := range defaultSettings {