Deployment url & trailing slash after the host name

As noted in another thread, I’m running the latest code from github. When the site exports all the URLs are missing the “/” between the host and the path. All the URLs look like “https://static.example.commypath”. I made sure the “Deployment URL” had a trailing slash with no luck. Then I saw in CoreOptions.php it specifically removes the trailing slash. I stopped there and didn’t dig any deeper to find the spot where things are re-assembled, but there looks to be a bug. For me, I just commented out the code locally that removes the ending slash and re-ran the export and all was good.

2 Likes

Any news on this? I have the same problem

If i comment out the lines which delete the ending slash, i get two slashes on some urls (all Font URLs to be specific):
https://xxxxxxxxxxx.cloudfront.net//wp-content/themes/Avada/includes/lib/assets/fonts/fontawesome/webfonts/fa-solid-900.woff