Skip to content
CCPEDIAby Unity Nodes
App Development

CORS error

2 posts368 viewsLast activity Sep 2022

  1. BlessieOP

    We are encountering this error. Kindly help.

    Here’s the vhosts configuration:

    <VirtualHost *:3000>
           ServerAdmin webmaster@localhost
    
            DocumentRoot /var/www/ecotx/build
            DirectoryIndex index.html
            <Directory /var/www/ecotx/build>
                Options FollowSymLinks
                AllowOverride All
                Require all granted
            </Directory>
    
            ErrorLog ${APACHE_LOG_DIR}/error.log
            CustomLog ${APACHE_LOG_DIR}/access.log combined
    
    #        SetEnvIf X-Forwarded-Proto https HTTPS=on
       ProxyRequests On
       ProxyPreserveHost On
       ProxyVia Full
       <Proxy *>
          Require all granted
       </Proxy>
       <Location /api/>
          ProxyPass https://ceesqcxtwcnk9clm.daml.app
          ProxyPassReverse https://ceesqcxtwcnk9clm.daml.app
       </Location>
    </VirtualHost>
    
    

    Any assistance is appreciated. Thanks in advance

  2. Dave

    Hey @Blessie, thanks for your question.

    I believe that the same issue was raised here. Please shout if that doesn’t help.

    David