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.
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.