Skip to content

Commit

Permalink
#1082. removing more appearances of localhost:8080 and 5001
Browse files Browse the repository at this point in the history
  • Loading branch information
ceciliazaragoza committed Jan 29, 2025
1 parent 442c07a commit 9efdeb6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions web-client/config/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ module.exports = {
},

production: {
host: "localhost",
port: 8080,
url: "http://" + this.host + "/" + this.port,
host: "grnsight.lmucs.org",
port: 3001,
url: "https://" + this.host + "/client",
root: rootPath,
app: {
name: "GRNsight"
},
serviceRoot: "//localhost:5000"
serviceRoot: "//grnsight.lmucs.org/server"
},

beta: {
Expand Down
1 change: 1 addition & 0 deletions web-client/public/js/graph.js
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,7 @@ export var drawGraph = function (workbook) {
const adjustGraphSize = () => {
var newWidth = $container.width();
var newHeight = $container.height();

if (adaptive) {
width = (width < newWidth) ? newWidth : width;
height = (height < newHeight) ? newHeight : height;
Expand Down

0 comments on commit 9efdeb6

Please sign in to comment.