From 6bbb8346d75828d666d56d85a76867206120ef27 Mon Sep 17 00:00:00 2001 From: Cedric Lewe <0skillallluck@pm.me> Date: Thu, 1 Sep 2022 09:36:30 +0200 Subject: [PATCH] Use devRootAppend for all links in grpc devmode (cherry picked from commit a68405f1214377206b77c05294f79446338fa53c) --- .../deployment/src/main/resources/dev-templates/service.html | 4 ++-- .../deployment/src/main/resources/dev-templates/services.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/extensions/grpc/deployment/src/main/resources/dev-templates/service.html b/extensions/grpc/deployment/src/main/resources/dev-templates/service.html index d3fde6ffe6abb..ced7ff4867b36 100644 --- a/extensions/grpc/deployment/src/main/resources/dev-templates/service.html +++ b/extensions/grpc/deployment/src/main/resources/dev-templates/service.html @@ -76,7 +76,7 @@ wsUri = "ws:"; } - wsUri += "//" + window.location.host + "/q/dev/io.quarkus.quarkus-grpc/grpc-test"; + wsUri += "//" + window.location.host + "{devRootAppend}/io.quarkus.quarkus-grpc/grpc-test"; grpcWS = new WebSocket(wsUri); grpcWS.onopen = function (event) { console.log("websocket connected"); @@ -219,7 +219,7 @@ {/scriptref} - {#breadcrumbs} Services{/breadcrumbs} + {#breadcrumbs} Services{/breadcrumbs} {#title}{info:grpcServices.get(currentRequest.params.get('name')).name}{/title} {#body}
diff --git a/extensions/grpc/deployment/src/main/resources/dev-templates/services.html b/extensions/grpc/deployment/src/main/resources/dev-templates/services.html index c5be36e2606f2..718e987e4a7cd 100644 --- a/extensions/grpc/deployment/src/main/resources/dev-templates/services.html +++ b/extensions/grpc/deployment/src/main/resources/dev-templates/services.html @@ -65,7 +65,7 @@ {#if service.hasTestableMethod} - Test + Test {/if} {/for}