diff --git a/flow-server/src/main/resources/com/vaadin/flow/server/frontend/index.ts b/flow-server/src/main/resources/com/vaadin/flow/server/frontend/index.ts index d77355df376..6154fdc0b48 100644 --- a/flow-server/src/main/resources/com/vaadin/flow/server/frontend/index.ts +++ b/flow-server/src/main/resources/com/vaadin/flow/server/frontend/index.ts @@ -21,7 +21,7 @@ const { serverSideRoutes } = new Flow({ }); const routes = [ - // for client-side, place routes below (more info https://hilla.dev/docs/lit/guides/routing#initializing-the-router + // for client-side, place routes below (more info https://hilla.dev/docs/lit/guides/routing#initializing-the-router) // for server-side, the next magic line sends all unmatched routes: ...serverSideRoutes // IMPORTANT: this must be the last entry in the array diff --git a/flow-tests/test-custom-frontend-directory/test-themes-custom-frontend-directory/side-src/main/frontend/index.ts b/flow-tests/test-custom-frontend-directory/test-themes-custom-frontend-directory/side-src/main/frontend/index.ts index 42eba83c1b2..e1fbc167212 100644 --- a/flow-tests/test-custom-frontend-directory/test-themes-custom-frontend-directory/side-src/main/frontend/index.ts +++ b/flow-tests/test-custom-frontend-directory/test-themes-custom-frontend-directory/side-src/main/frontend/index.ts @@ -6,7 +6,7 @@ const {serverSideRoutes} = new Flow({ }); const routes = [ - // for client-side, place routes below (more info https://vaadin.com/docs/v15/flow/typescript/creating-routes.html) + // for client-side, place routes below (more info https://hilla.dev/docs/lit/guides/routing#initializing-the-router) { path: 'hello', component: 'hello-world-view', diff --git a/flow-tests/test-themes/frontend/index.ts b/flow-tests/test-themes/frontend/index.ts index d0684ed2301..0978643145e 100644 --- a/flow-tests/test-themes/frontend/index.ts +++ b/flow-tests/test-themes/frontend/index.ts @@ -6,7 +6,7 @@ const {serverSideRoutes} = new Flow({ }); const routes = [ - // for client-side, place routes below (more info https://vaadin.com/docs/v15/flow/typescript/creating-routes.html) + // for client-side, place routes below (more info https://hilla.dev/docs/lit/guides/routing#initializing-the-router) { path: 'hello', component: 'hello-world-view',