userConfig.server?.https can either be undefined or be a user-defined object.
Currently there is an unnecessary conditional, because in the first ternary condition it is already checked if this configuration is undefined or not, therefor making the second ternary condition unnecessary. This PR solves this issue.
userConfig.server?.https
can either be undefined or be a user-defined object.Currently there is an unnecessary conditional, because in the first ternary condition it is already checked if this configuration is undefined or not, therefor making the second ternary condition unnecessary. This PR solves this issue.