Skip to content
Snippets Groups Projects
Commit f3294260 authored by Daniel Vogel's avatar Daniel Vogel
Browse files

added filesizes

parent 776fcd2b
Branches
Tags
No related merge requests found
......@@ -100,6 +100,12 @@ public class ConfigurationController extends AbstractController {
@Value("${pp.licenses}")
private String ppLicenses;
@Value("${pp.logofilesize_b}")
private String ppLogoMaxFilesize;
@Value("${upload.filesize_b}")
private String gridImageMaxFileSize;
@RequestMapping(method = RequestMethod.GET)
@ResponseBody
......@@ -157,6 +163,9 @@ public class ConfigurationController extends AbstractController {
publicPool.put("subjects", ppSubjects);
publicPool.put("licenses", ppLicenses);
publicPool.put("logoMaxFilesize", ppLogoMaxFilesize);
config.put("grid", gridImageMaxFileSize);
return config;
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment