Finish the preference.
This commit is contained in:
@ -22,6 +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="
|
||||
this.Create(preference)
|
||||
return preference
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user