Production Mode with VaadinJettyServer v2.0

Hello,

Is there a way to run Vaadin in production mode with VaadinJettyServer v2.0?

Thanks very much.

-Dan

Hi,

yes, you should be able to do that. You can configure production mode to be enabled in a configuration file (usually web.xml, but this depends - it could also be e.g. your spring config file), or directly in code with the @VaadinServletConfiguration annotation. See https://vaadin.com/docs/-/part/framework/application/application-environment.html for details.

-Olli