Content
You are here:
Docker with subdirectory: wrong javascript URL
Added by David Masshardt almost 4 years ago
I've just tried to setup the OpenProject Docker container using the environment variable -e OPENPROJECT_RAILS__RELATIVE__URL__ROOT=/openproject but now I have the problem that some javascript libraries are not loaded anymore. In the debug console of my browser I get this error:
GET http://172.17.2.17:5700/openproject/openproject/assets/frontend/156.7dd1d4cc6c2efeb06950.js net::ERR_ABORTED 404 (Not Found)
The problem seems to be that /openproject is doubled in this URL. The URL should be http://172.17.2.17:5700/openproject/assets/frontend/156.7dd1d4cc6c2efeb06950.js. What am I doing wrong here? I can see other asset Url's that are correct. Only some js files to not get loaded.
Replies (2)
Does no one else have this problem? I now also have the problem that I "openproject" is put 3 times in the link.
I found a bug that could be the same problem I'm having. (Bug #35775)