mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-12 16:35:45 +01:00
Style pages
This commit is contained in:
@@ -3,6 +3,8 @@ package sonia.scm.update;
|
||||
import com.google.inject.servlet.ServletModule;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import sonia.scm.PushStateDispatcher;
|
||||
import sonia.scm.WebResourceServlet;
|
||||
|
||||
class MigrationWizardModule extends ServletModule {
|
||||
|
||||
@@ -15,6 +17,8 @@ class MigrationWizardModule extends ServletModule {
|
||||
LOG.info("= STARTING MIGRATION SERVLET =");
|
||||
LOG.info("= =");
|
||||
LOG.info("==========================================================");
|
||||
bind(PushStateDispatcher.class).toInstance((request, response, uri) -> {});
|
||||
serve("/images/*", "/styles/*").with(WebResourceServlet.class);
|
||||
serve("/*").with(MigrationWizardServlet.class);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user