Leantime / leantime

Leantime is a goals focused project management system for non-project managers. Building with ADHD, Autism, and dyslexia in mind.
https://leantime.io
GNU Affero General Public License v3.0
4.74k stars 597 forks source link

[Bug]: Inconsistent Application of LEAN_APP_URL Variable Causes Missing CSS/JS Resources #2787

Closed TheMatzy closed 3 days ago

TheMatzy commented 4 days ago

What is your set up?

Self Hosted Docker

Version

3.3.0

Describe the issue

I updated my Docker container to version 3.3.0, but now I’m experiencing an issue where CSS and JavaScript are not loading correctly.

It seems the LEAN_APP_URL variable from the .env file is not being applied consistently. For testing, I set the LEAN_APP_URL variable to quark.domain.de. While this seems to work for light.css (as shown in point 2 of the attached image), the other CSS and JavaScript resources are not properly referencing quark.domain.de. This inconsistency is causing the styling issues.

image

Reproduction steps

Change the .env Env variable LEAN_APP_URL to any other domain, and it don't work.

image image image

Additional Notes

No response

marcelfolaron commented 4 days ago

When you set the lean_app_url did you include http/https? The protocol is required with that variable.

On Mon, Nov 18, 2024 at 04:51 TheMatzy @.***> wrote:

Assigned #2787 https://github.com/Leantime/leantime/issues/2787 to @marcelfolaron https://github.com/marcelfolaron.

— Reply to this email directly, view it on GitHub https://github.com/Leantime/leantime/issues/2787#event-15331334884, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALG4EFRKYTLDD3OGAMDHLS32BG2CNAVCNFSM6AAAAABR7HJAMSVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJVGMZTCMZTGQ4DQNA . You are receiving this because you were assigned.Message ID: @.***>

TheMatzy commented 4 days ago

Hi, yes of course I have set that. See the screenshots I have attached. It really is a bug. The same problem occurs in a fresh installation.

PterX commented 4 days ago

I have same issue

lpier commented 4 days ago

I'm experiencing the same issue

marcelfolaron commented 3 days ago

Fix is ready and will be released shortly. https://github.com/Leantime/leantime/pull/2792

marcelfolaron commented 3 days ago

Fixed in 3.3.1