Skip to content

Commit

Permalink
Merge pull request #1580 from SynBioHub/setuphttps
Browse files Browse the repository at this point in the history
Setuphttps
  • Loading branch information
cjmyers authored Nov 26, 2024
2 parents 45e3a01 + 603e160 commit 6d69488
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/views/setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ module.exports = function (req, res) {
const settings = {
instanceName: 'My SynBioHub',
frontendURL: '',
instanceUrl: req.protocol + '://' + req.get('Host') + '/',
uriPrefix: req.protocol + '://' + req.get('Host') + '/',
instanceUrl: req.secure ? req.protocol + 's' : req.protocol + '://' + req.get('Host') + '/',
uriPrefix: req.secure ? req.protocol + 's' : req.protocol + '://' + req.get('Host') + '/',
altHome: '',
userName: '',
affiliation: '',
Expand Down

0 comments on commit 6d69488

Please sign in to comment.