friendica / docker

Docker image for Friendica

Home Page:https://friendi.ca

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lots of CORS errors when using the insecure image

oculos opened this issue · comments

Hi,

I got the Docker composer up and running the example ("insecure", fpm), but most of the resources do not load because of CORS errors, as in the image below.

Is there a fix for this?
Screenshot 2023-12-09 at 18 40 39

These aren’t CORS errors, look at the URL path, there’s one localhost too many, which means all these URLs end up loading an HTML 404 Not Found error instead of the Javascript files.

Please check the config/local.config.php for a possible localhost/localhost string.

It works now after I removed the URL setting.

I believe the FRIENDICA_URL setting must be a fully-qualified URL like https://localhost.