() {
+ @Override
+ public void handle(RoutingContext rc) {
+ // 308 because we also want to redirect other HTTP Methods (and not only GET).
+ rc.response().putHeader("Location", "/q/dev-ui").setStatusCode(308).end();
+ }
+ };
+ }
+
private static final class DeleteDirectoryRunnable implements Runnable {
private final Path directory;
diff --git a/extensions/vertx-http/runtime/src/main/java/io/quarkus/vertx/http/runtime/devmode/DevConsoleFilter.java b/extensions/vertx-http/runtime/src/main/java/io/quarkus/vertx/http/runtime/devmode/DevConsoleFilter.java
index a16ab6330f01f..96a321d336b49 100644
--- a/extensions/vertx-http/runtime/src/main/java/io/quarkus/vertx/http/runtime/devmode/DevConsoleFilter.java
+++ b/extensions/vertx-http/runtime/src/main/java/io/quarkus/vertx/http/runtime/devmode/DevConsoleFilter.java
@@ -20,7 +20,7 @@
/**
* This is a Handler running in the regular runtime Vert.x instance
- * and what it does is to take the Vert.x request coming from client (under /q/dev/)
+ * and what it does is to take the Vert.x request coming from client (under /q/dev-v1/)
* and create the DevConsoleRequest that ends up being sent to the Netty Virtual Channel
* which is eventually piped into the Netty event loop that powers the Dev Vert.x instance.
*/
diff --git a/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/project/quarkus/base/src/main/resources/META-INF/resources/index.tpl.qute.html b/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/project/quarkus/base/src/main/resources/META-INF/resources/index.tpl.qute.html
index 2434627133234..dad3b5b8548da 100644
--- a/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/project/quarkus/base/src/main/resources/META-INF/resources/index.tpl.qute.html
+++ b/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/project/quarkus/base/src/main/resources/META-INF/resources/index.tpl.qute.html
@@ -255,6 +255,7 @@ You just made a Quarkus application.
App configuration: src/main/resources/{config.file-name}
Static assets: src/main/resources/META-INF/resources/
Code: {language.dir.code}
+ Dev UI V1: /q/dev-v1
Generated starter code:
{merged-content}
diff --git a/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/QuarkusCodestartGenerationTest/generateRESTEasyJavaCustom/src_main_resources_META-INF_resources_index.html b/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/QuarkusCodestartGenerationTest/generateRESTEasyJavaCustom/src_main_resources_META-INF_resources_index.html
index c6da4ababd814..b4e24cf3a4580 100644
--- a/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/QuarkusCodestartGenerationTest/generateRESTEasyJavaCustom/src_main_resources_META-INF_resources_index.html
+++ b/independent-projects/tools/devtools-testing/src/test/resources/__snapshots__/QuarkusCodestartGenerationTest/generateRESTEasyJavaCustom/src_main_resources_META-INF_resources_index.html
@@ -255,6 +255,7 @@ You just made a Quarkus application.
App configuration: src/main/resources/application.properties
Static assets: src/main/resources/META-INF/resources/
Code: src/main/java
+ Dev UI V1: /q/dev-v1
Generated starter code: