Adding http to https redirect for dist build