Loading...
Important Notice - Forums is archived

To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Product icon
TUTORIAL

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

Vaadin with Spring boot - how to set productionMode=true

Fred B.
6 years ago Jun 04, 2015 1:07pm
Risto Yrjänä
6 years ago Jun 04, 2015 2:23pm

Are you using the official Spring addon? You should be able to use

vaadin.servlet.productionMode

See https://github.com/vaadin/spring/blob/ad41df89e6df431227c64124c91821d3e8efb630/vaadin-spring-boot/src/main/java/com/vaadin/spring/boot/internal/VaadinServletConfigurationProperties.java for more information.

Fred B.
6 years ago Jun 05, 2015 10:55am