From 5ec8ddd904d3d8f0103737ef72f53d20dd707f31 Mon Sep 17 00:00:00 2001 From: Tarek Oraby <42799254+tarekoraby@users.noreply.github.com> Date: Fri, 10 Dec 2021 11:20:32 +0200 Subject: [PATCH] fix: outdated links to production mode docs (#12553) * Fix outdated link to production mode docs * Fix outdated link to production mode docs --- .../com/vaadin/flow/server/DefaultDeploymentConfiguration.java | 2 +- .../flow/server/startup/AbstractConfigurationFactory.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/flow-server/src/main/java/com/vaadin/flow/server/DefaultDeploymentConfiguration.java b/flow-server/src/main/java/com/vaadin/flow/server/DefaultDeploymentConfiguration.java index b67c147b435..aa02f373c58 100755 --- a/flow-server/src/main/java/com/vaadin/flow/server/DefaultDeploymentConfiguration.java +++ b/flow-server/src/main/java/com/vaadin/flow/server/DefaultDeploymentConfiguration.java @@ -46,7 +46,7 @@ public class DefaultDeploymentConfiguration public static final String NOT_PRODUCTION_MODE_WARNING = "\nWARNING: Vaadin is running in DEBUG MODE with debug features enabled, but with a prebuild frontend bundle (production ready).\n" + "When deploying application for production, disable debug features by enabling production mode!\n" - + "See more from https://vaadin.com/docs/v14/flow/production/tutorial-production-mode-basic.html"; + + "See more from https://vaadin.com/docs/latest/flow/production/overview"; public static final String WARNING_V14_BOOTSTRAP = "Using deprecated Vaadin 14 bootstrap mode.\n" + "Client-side views written in TypeScript are not supported. Vaadin 15+ enables client-side and server-side views.\n" diff --git a/flow-server/src/main/java/com/vaadin/flow/server/startup/AbstractConfigurationFactory.java b/flow-server/src/main/java/com/vaadin/flow/server/startup/AbstractConfigurationFactory.java index 4d372c9a415..33426315da7 100644 --- a/flow-server/src/main/java/com/vaadin/flow/server/startup/AbstractConfigurationFactory.java +++ b/flow-server/src/main/java/com/vaadin/flow/server/startup/AbstractConfigurationFactory.java @@ -61,7 +61,7 @@ public class AbstractConfigurationFactory implements Serializable { public static final String DEV_FOLDER_MISSING_MESSAGE = "Running project in development mode with no access to folder '%s'.%n" - + "Build project in production mode instead, see https://vaadin.com/docs/v15/flow/production/tutorial-production-mode-basic.html"; + + "Build project in production mode instead, see https://vaadin.com/docs/latest/flow/production/overview"; /** * Returns the config parameters from the token file data {@code buildInfo}.