Closed oculos closed 11 months ago
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.
Hi,
Thanks for the reply.
I saw that, but I just did docker-compose -up
and configured the FRIENDICA_URL=localhost
on the docker compose file.
Where does this come from?
On Dec 9, 2023, at 20:57, Hypolite Petovan @.***> wrote:
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.
— Reply to this email directly, view it on GitHub https://github.com/friendica/docker/issues/234#issuecomment-1848647619, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABT2F47JYWH6ZIXOWJPKNKTYIS7BLAVCNFSM6AAAAABAN57BCSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBYGY2DONRRHE. You are receiving this because you authored the thread.
It works now after I removed the URL setting.
I believe the FRIENDICA_URL
setting must be a fully-qualified URL like https://localhost
.
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?