Skip to content

Commit

Permalink
updated node version
Browse files Browse the repository at this point in the history
  • Loading branch information
sandeepreddy792 committed Nov 18, 2024
1 parent 817e8a1 commit bf83727
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:10-alpine
FROM node:23-alpine

RUN mkdir -p /home/node/app/node_modules && chown -R node:node /home/node/app
WORKDIR /home/node/app
Expand Down
12 changes: 8 additions & 4 deletions sbRestApiServer.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,14 @@ function returnResults(res, err, results, format, tsvFields) {
// Note that dates in DB are always GMT - hence are incorrect during BST period - hence the adjustment below
var dateTimeInCurrentTimeZone = dateFormat(new Date(result[entry]),'yyyy-mm-dd HH:MM');
row.push(dateTimeInCurrentTimeZone);
} else if (entry === "nextflow_run_id" && result[entry] != null && result[entry] != undefined) {
var nextFlowRunURL = "https://cloud.seqera.io/orgs/aexpress/workspaces/aexpress_workspace/watch/" + result[entry];
var URLHTMLElelment = "<a href='" + nextFlowRunURL + "' target=\"_blank\">" + result[entry] + "</a>";
row.push(URLHTMLElelment);
} else if (entry === "nextflow_run_id") {
if(result[entry] != null && result[entry] != undefined){
var nextFlowRunURL = "https://cloud.seqera.io/orgs/aexpress/workspaces/aexpress_workspace/watch/" + result[entry];
var URLHTMLElelment = "<a href='" + nextFlowRunURL + "' target=\"_blank\">" + result[entry] + "</a>";
row.push(URLHTMLElelment);
}else {
row.push("NA");
}
} else {
row.push(val);
}
Expand Down

0 comments on commit bf83727

Please sign in to comment.