Merged in bugfix/missing_styles (pull request #353)

create separate styles bundle
This commit is contained in:
Eduard Heimbuch
2019-11-18 13:20:16 +00:00
7 changed files with 605 additions and 16 deletions

View File

@@ -85,7 +85,7 @@ public final class SingleView {
MustacheTemplateEngine.class);
bind(TemplateEngineFactory.class);
serve("/images/*", "/styles/*", "/favicon.ico").with(StaticResourceServlet.class);
serve("/images/*", "/assets/*", "/favicon.ico").with(StaticResourceServlet.class);
serve("/*").with(SingleViewServlet.class);
}
}

View File

@@ -18,7 +18,7 @@ class MigrationWizardModule extends ServletModule {
LOG.info("= Open SCM-Manager in a browser to start the wizard. =");
LOG.info("= =");
LOG.info("==========================================================");
serve("/images/*", "/styles/*", "/favicon.ico").with(StaticResourceServlet.class);
serve("/images/*", "/assets/*", "/favicon.ico").with(StaticResourceServlet.class);
serve("/*").with(MigrationWizardServlet.class);
}
}