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

Redirect localhost to 127.0.0.1 #662

Open
vin-ni opened this issue May 27, 2024 · 0 comments
Open

Redirect localhost to 127.0.0.1 #662

vin-ni opened this issue May 27, 2024 · 0 comments
Assignees
Labels
frontend Stuff that the client sees

Comments

@vin-ni
Copy link
Member

vin-ni commented May 27, 2024

Vinzenz regularly forgets to open everything in 127.0.0.1 and not localhost.

He should implement a redirect routing.

if (window.location.hostname === "localhost") {
    window.location.hostname = "127.0.0.1";
}
@vin-ni vin-ni added the frontend Stuff that the client sees label May 27, 2024
@vin-ni vin-ni self-assigned this May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend Stuff that the client sees
Projects
None yet
Development

No branches or pull requests

1 participant