Skip to content

Commit

Permalink
Merge pull request #200 from razee-io/rdash-url
Browse files Browse the repository at this point in the history
No quotes required
  • Loading branch information
dalehille authored Mar 5, 2020
2 parents 0206ebd + 687d8c2 commit 686e192
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/routes/install/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ router.use(ebl(getBunyanConfig('/api/install')));
router.get('/razeedeploy-job', asyncHandler(async (req, res, next) => {
let args = req.query.args ? req.query.args : [];
let args_array = Array.isArray(args) ? args : [args];
args_array.push(`--razeedash-url='${req.protocol}://${req.get('host')}/api/v2'`);
args_array.push(`--razeedash-url=${req.protocol}://${req.get('host')}/api/v2`);
args_array.push(`--razeedash-org-key=${req.query.orgKey}`);
args_array = JSON.stringify(args_array);

Expand Down

0 comments on commit 686e192

Please sign in to comment.