Resolves #7: When config.public is set to false it is generating a public url by default. This should be a private generated url.