Skip to content

Commit

Permalink
output_data endpoint should not have a trailing slash, otherwise you …
Browse files Browse the repository at this point in the history
…get a 307 redirect without SSL, which breaks the client
  • Loading branch information
apdavison committed Jan 24, 2024
1 parent 6aec0dd commit a0af05f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/datastore.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ async function createComment(jobId, commentData, auth) {
}

async function changeRepository(collabId, jobId, targetRepository, auth) {
const url = jobQueueServer + "/jobs/" + jobId + "/output_data/";
const url = jobQueueServer + "/jobs/" + jobId + "/output_data";
let config = getRequestConfig(auth);
config.method = "PUT";
config.body = JSON.stringify({ repository: targetRepository, files: [] });
Expand Down

0 comments on commit a0af05f

Please sign in to comment.