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

chore: Modify test environment detection #101

Merged
merged 2 commits into from
Dec 28, 2023
Merged

Conversation

Slider0007
Copy link
Owner

@Slider0007 Slider0007 commented Dec 14, 2023

Avoid accidentally using test environment config if any forwarding to loopback address 127.0.0.1 is configured (jomjol#2681)

/* The WebUI can also be executed on a local webserver for development purposes, e.g. XAMPP.
* Configure the physical device IP which shall be used for communication and call http://localhost
* NOTE: And you also might have to disable CORS in your webbrowser.
* IMPORTANT: For regular WebUI operation this IP parameter is not needed at all!
*/
var DUTDeviceIP = "192.168.2.68";      // Set the IP of physical device under test

(Inspired by jomjol@36c12b4)

Avoid issues with forwarding to loopback 127.0.0.1
(jomjol#2681)
@Slider0007 Slider0007 changed the title chore: Modify test environment activation chore: Modify test environment detection Dec 28, 2023
@Slider0007 Slider0007 merged commit 2509ffe into develop Dec 28, 2023
@Slider0007 Slider0007 deleted the develop-ip-handling branch December 28, 2023 12:49
Slider0007 added a commit that referenced this pull request Dec 28, 2023
Slider0007 added a commit that referenced this pull request Dec 28, 2023
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

Successfully merging this pull request may close these issues.

1 participant