use of horse.wtf.nzyme.rest.web.IndexHtmlGenerator in project nzyme by lennartkoopmann.
the class NzymeLeaderInjectionBinder method configure.
@Override
protected void configure() {
bind(nzyme).to(NzymeLeader.class);
bind(new MimetypesFileTypeMap()).to(MimetypesFileTypeMap.class);
bind(nzyme.getObjectMapper()).to(ObjectMapper.class);
try {
bind(new IndexHtmlGenerator(nzyme.getConfiguration(), new AssetManifest())).to(IndexHtmlGenerator.class);
} catch (IOException e) {
throw new RuntimeException("Could not bind IndexHtmlGenerator.", e);
}
}
Aggregations