Further transition from HTTP to HTTPS (#14039)

This commit is contained in:
sau226
2022-06-11 05:02:58 +10:00
committed by GitHub
parent 4da6467486
commit 4d10c53216
19 changed files with 30 additions and 30 deletions

View File

@@ -58,7 +58,7 @@ const updatablePaths = [
];
// This tells us for which paths users can call `PUT /user`.
// The trick here is to only accept leaf paths, not root/intermediate paths (see http://goo.gl/OEzkAs)
// The trick here is to only accept leaf paths, not root/intermediate paths (see https://goo.gl/OEzkAs)
const acceptablePUTPaths = _.reduce(UserSchema.paths, (accumulator, val, leaf) => {
const found = _.find(updatablePaths, rootPath => leaf.indexOf(rootPath) === 0);