Add the preview config.

This commit is contained in:
lishuang
2020-06-21 02:41:13 +08:00
parent 3fb1d874d5
commit 7b875c81d1
3 changed files with 5 additions and 5 deletions

View File

@ -22,8 +22,8 @@ func (this *PreferenceDao) Fetch() *Preference {
if db.Error.Error() == result.DB_ERROR_NOT_FOUND {
preference.Name = "EyeblueTank"
preference.Version = core.VERSION
//Default Office preview url.
preference.OfficeUrl = "https://view.officeapps.live.com/op/embed.aspx?src="
//Default Office preview url. https://view.officeapps.live.com/op/embed.aspx?src=
preference.PreviewConfig = "{}"
this.Create(preference)
return preference
} else {