Skip to content

Commit

Permalink
Use devRootAppend for all links in grpc devmode
Browse files Browse the repository at this point in the history
(cherry picked from commit a68405f)
  • Loading branch information
0SkillAllLuck authored and gsmet committed Sep 5, 2022
1 parent 84497cb commit 6bbb834
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down Expand Up @@ -219,7 +219,7 @@
<script src="{devRootAppend}/resources/codemirror/addon/selection/active-line.js"></script>
{/scriptref}

{#breadcrumbs}<i class="fas fa-chevron-right fa-sm breadcrumb-separator"></i> <a href="/q/dev/io.quarkus.quarkus-grpc/services">Services</a>{/breadcrumbs}
{#breadcrumbs}<i class="fas fa-chevron-right fa-sm breadcrumb-separator"></i> <a href="{devRootAppend}/io.quarkus.quarkus-grpc/services">Services</a>{/breadcrumbs}
{#title}{info:grpcServices.get(currentRequest.params.get('name')).name}{/title}
{#body}
<div class="status" id="status-info">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
</td>
<td>
{#if service.hasTestableMethod}
<a href="/q/dev/io.quarkus.quarkus-grpc/service?name={service.name}"><i class="fas fa-tools"></i> Test</a>
<a href="{devRootAppend}/io.quarkus.quarkus-grpc/service?name={service.name}"><i class="fas fa-tools"></i> Test</a>
{/if}
</td>
{/for}
Expand Down

0 comments on commit 6bbb834

Please sign in to comment.