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.3k stars 568 forks source link

/dashboard/home stuck loading notifications #2516

Open exiamu opened 2 months ago

exiamu commented 2 months ago

If you have problems with the installation please use our community forum

What set up are you using

Describe the bug When using Leantime from IP:PORT without using Nginxpm it loads my notifications on my /dashboard/home after logging in. Once I set up Nginxpm and use https://leantime.domain.com and log in. The notifications and everything on my /dashboard/home just is stuck loading and the GET command looks to be trying to grab things from IP:PORT instead of the leantime.domain.com

To Reproduce Steps to reproduce the behavior:

  1. Dont set up nginxpm
  2. Run from IP:PORT and get no issue
  3. set up nginxpm
  4. run https://leantime.domain.com and get issue

Expected behavior Load the notifications on /dashboard/home

Leantime Version 3.1.4

Server Ubuntu server, nginx, cloudflare

exiamu commented 2 months ago

I have pinpointed this down to the "/widgets/welcome/get" and the "/widgets/welcome/todos" pulling a BASE URL of my IP:PORT and not my leantime.domain.com like all the other things. My /dashboard/home is pulling the BASEURL properly but not the widgets side. The coding inside of Widgets > Services > widgets.php shows the coding has under WidgetsURL -- BASEURL . "/widgets/welcome/get" so i dont know why this is not converting to leantime.domain.com proplery like the other stuff.

bgreyesjr commented 2 months ago

try dashboard settings -> reset dashboard