openwisp / docker-openwisp

OpenWISP in docker. For production usage we recommend using the ansible-openwisp2 role.
https://openwisp.io/docs/dev/docker/
BSD 3-Clause "New" or "Revised" License
149 stars 75 forks source link

[bug] redirect to old domain when clicking on notification #274

Closed Bixilon closed 1 month ago

Bixilon commented 1 year ago

I changed the main domain in .env works without a problem, but when I click on a notification (e.g. a device has registered), I am still getting redirected to the old domain.

Somewhere in the data (maybe in the database?) is still the old domain, it should not be used and instead the global variable should be used. Another way of solving this (imho better option) is directly in openwisp, redirects should be relative.

nemesifier commented 1 year ago

@Bixilon check the site configuration: /admin/sites/site/

Bixilon commented 1 year ago

Did the trick, why is it not linked in the sitebar?

nemesifier commented 1 month ago

Did the trick, why is it not linked in the sitebar?

You mean why is it not linked in the nav menu?