Skip to content

Commit

Permalink
Merge pull request #1269 from StochSS/develop
Browse files Browse the repository at this point in the history
v2.4.1
  • Loading branch information
BryanRumsey authored Sep 8, 2021
2 parents b6316a4 + e7e7f32 commit f93e193
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion __version__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# @website https://github.com/stochss/stochss
# =============================================================================

__version__ = '2.4'
__version__ = '2.4.1'
__title__ = 'StochSS'
__description__ = 'StochSS is an integrated development environment (IDE) \
for simulation of biochemical networks.'
Expand Down
6 changes: 3 additions & 3 deletions client/pages/job-presentation.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ let JobPresentationPage = PageView.extend({
self.renderSubviews(true);
}
});
let downloadStart = "https://staging.stochss.org/stochss/job/download_presentation";
this.downloadLink = downloadStart + "/" + owner + "/" + file;
this.openLink = "https://open.stochss.org?open=" + this.downloadLink;
let downloadStart = "/stochss/job/download_presentation";
this.downloadLink = path.join(downloadStart, owner, file);
this.openLink = `https://open.stochss.org?open=${window.location.protocol}//${window.location.hostname}${this.downloadLink}`;
},
render: function (attrs, options) {
PageView.prototype.render.apply(this, arguments);
Expand Down
4 changes: 2 additions & 2 deletions client/pages/model-presentation.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ let ModelPresentationPage = PageView.extend({
this.renderSubviews(true);
}
});
let downloadStart = "https://live.stochss.org/stochss/download_presentation";
let downloadStart = "/stochss/download_presentation";
this.downloadLink = path.join(downloadStart, owner, file);
this.openLink = "https://open.stochss.org?open=" + this.downloadLink;
this.openLink = `https://open.stochss.org?open=${window.location.protocol}//${window.location.hostname}${this.downloadLink}`;
},
render: function (attrs, options) {
PageView.prototype.render.apply(this, arguments);
Expand Down
6 changes: 3 additions & 3 deletions client/pages/notebook-presentation.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ let NotebookPresentationPage = PageView.extend({
self.renderSubviews(true, null);
}
});
let downloadStart = "https://live.stochss.org/stochss/notebook/download_presentation";
this.downloadLink = downloadStart + "/" + owner + "/" + file;
this.openLink = "https://open.stochss.org?open=" + this.downloadLink;
let downloadStart = "/stochss/notebook/download_presentation";
this.downloadLink = path.join(downloadStart, owner, file);
this.openLink = `https://open.stochss.org?open=${window.location.protocol}//${window.location.hostname}${this.downloadLink}`;
},
render: function (attrs, options) {
PageView.prototype.render.apply(this, arguments);
Expand Down

0 comments on commit f93e193

Please sign in to comment.