Skip to content

Commit

Permalink
Update template
Browse files Browse the repository at this point in the history
Signed-off-by: Artem Zatsarynnyi <[email protected]>
  • Loading branch information
azatsarynnyy committed Dec 1, 2023
1 parent e0bdb6e commit b97429f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion status-app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ app.get('/', async function (req, res) {
const dwName = process.env.DEVWORKSPACE_NAME;
const clusterConsoleURL = process.env.CLUSTER_CONSOLE_URL;
const podName = process.env.HOSTNAME;

// render the page from EJS template
res.render('status', { dwName, clusterConsoleURL, podName, invitationLink });
});

Expand Down
4 changes: 2 additions & 2 deletions status-app/views/status.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
<p>3. In the same local terminal call: oc port-forward pod/<%= podName %> 5990</p>

<h4>Connect your local JetBrains thin client to the remote backend</h4>
<i>Make sure you have the <a href="https://www.jetbrains.com/remote-development/gateway/" target="_blank">JetBrains Gateway</a> installed on your local machine.</i>
<p>1. <a href="jetbrains-gateway://connect">Open JetBrains Gateway</a> and choose "Connect with a Link" tab.</p>
<i>Install <a href="https://www.jetbrains.com/remote-development/gateway/" target="_blank">JetBrains Gateway</a> if not installed.</i>
<p>1. <a href="jetbrains-gateway://connect">Open JetBrains Gateway</a> and choose "Connect with a Link" option.</p>
<p>2. Pass this IDEA dev server link to your Gateway app: <%= invitationLink %></p>
</body>
</html>

0 comments on commit b97429f

Please sign in to comment.