Task Attachments #104

Merged
konrad merged 63 commits from feature/attachments into master 2019-10-16 20:52:31 +00:00
1 changed files with 2 additions and 0 deletions
Showing only changes of commit 855d1fa71d - Show all commits

View File

@ -28,6 +28,7 @@ type vikunjaInfos struct {
FrontendURL string `json:"frontend_url"`
Motd string `json:"motd"`
LinkSharingEnabled bool `json:"link_sharing_enabled"`
MaxFileSize int64 `json:"max_file_size"`
}
// Info is the handler to get infos about this vikunja instance
@ -43,5 +44,6 @@ func Info(c echo.Context) error {
FrontendURL: config.ServiceFrontendurl.GetString(),
Motd: config.ServiceMotd.GetString(),
LinkSharingEnabled: config.ServiceEnableLinkSharing.GetBool(),
MaxFileSize: config.FilesMaxSize.GetInt64(),
})
}