src/Extensions/PdfExportControllerExtension.php
public function getPDFProxy($pdfBaseUrl)
    {
        if (!Environment::getEnv('CWP_SECURE_DOMAIN')
            || $pdfBaseUrl == Environment::getEnv('CWP_SECURE_DOMAIN') . '/'
        ) {
            $proxy = '';
        } else {
            $proxy = ' --proxy ' . Environment::getEnv('SS_OUTBOUND_PROXY')
                . ':' . Environment::getEnv('SS_OUTBOUND_PROXY_PORT');
        }
        return $proxy;
    }
public function getPDFProxy($pdfBaseUrl)
    {
        if (!Environment::getEnv('CWP_SECURE_DOMAIN')
            || $pdfBaseUrl == Environment::getEnv('CWP_SECURE_DOMAIN') . '/'
        ) {
            $proxy = '';
        } else {
            $proxy = ' --proxy ' . Environment::getEnv('SS_OUTBOUND_PROXY')
                . ':' . Environment::getEnv('SS_OUTBOUND_PROXY_PORT');
        }
        return $proxy;
    }
public function getPDFProxy ( $ pdfBaseUrl ) { if ( ! Environment :: getEnv ( 'CWP_SECURE_DOMAIN' ) || $ pdfBaseUrl == Environment :: getEnv ( 'CWP_SECURE_DOMAIN' ) . '/' ) { $ proxy = '' ; } else { $ proxy = ' --proxy ' . Environment :: getEnv ( 'SS_OUTBOUND_PROXY' ) . ':' . Environment :: getEnv ( 'SS_OUTBOUND_PROXY_PORT' ) ; } return $ proxy ; }
Don't use the proxy if the pdf domain is the CWP secure domain or if we aren't on a CWP server

@return string
Don t use the proxy if the pdf domain is the CWP secure domain or if we aren t on a CWP server