Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Bixilon opened this issue Mar 16, 2023 · 2 comments
Open

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

Bixilon opened this issue Mar 16, 2023 · 2 comments

Comments

@Bixilon
Copy link
Contributor

Bixilon commented Mar 16, 2023

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
Copy link
Member

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

@Bixilon
Copy link
Contributor Author

Bixilon commented Mar 20, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants