ss_origin_url

We implemented a filter in Simply Static which allows you to change the URL used to make remote requests. You can use this filter to change the URL to the public URL of your website. This can be helpful in situations where your website is using a reverse proxy.

Below is a code snippet to change the URL used by Simply Static to make requests to your site:

add_filter( 'ss_origin_url', function ( $url ) {
   $url = 'https://your-website-url.com';
   return $url;
} );

You can add this to the functions.php of your child theme or use the Code Snippets plugin to add it.