Photos

Anahita Project

Anahita Project's Photos

Hello @Rastin,
I am facing CORS issue. I updated .htaccess and .env file also but no luck.. Please suggest
This problem is solved by adding CORS details in apache2.conf.
Also image URL issue on line
viewer.imageURL && viewer.imageURL.medium ? viewer.imageURL.medium.url:''
If anyone wants to see and Test.. They can access site on

Anahita React - http://139.59.0.236:3000/
Anahita Backend - http://139.59.0.236

Thank you
Rastin Mehr liked this
You can hard code the cors in the includes/framework.php after line 37 for now. It's a dirty solution or configure your server's CORS.

header('Access-Control-Allow-Origin: http://139.59.13.252:3000');
header('Access-Control-Allow-Methods: POST, GET, DELETE, PUT, PATCH, OPTIONS');
header('Access-Control-Allow-Headers: Content-Type');
header('Access-Control-Allow-Credentials: true');
Rajkumar Mundel liked this

Related sets

There are no related sets!

Additional Information

Powered by Anahita