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

fix(web): logging if no domain is entered #1038

Merged
merged 4 commits into from Mar 10, 2024

Conversation

WaterLemons2k
Copy link
Contributor

@WaterLemons2k WaterLemons2k commented Mar 10, 2024

What does this PR do?

Logging when both IPv4 and IPv6 domains are not provided.

Fixes #1036 and other similar issues.

Motivation

Currently, if both IPv4 and IPv6 domains are not provided, nothing happens. In this case, we should log this.

Additional Notes

Bool firstTime was based on a config error, but the error was ignored. Fixed.

Currently, if IPv4/6 is enabled but there is no domain, nothing happens. In this case, we should throw an error.
@jeessy2
Copy link
Owner

jeessy2 commented Mar 10, 2024

When IPv4 and IPv6 domains are not filled in, only display logs instead of throwing exceptions

@WaterLemons2k WaterLemons2k changed the title fix(web): error when IPv4/6 is enabled but no domain fix(web): log when IPv4/6 is enabled but no domain Mar 10, 2024
@WaterLemons2k WaterLemons2k changed the title fix(web): log when IPv4/6 is enabled but no domain fix(web): logging when IPv4/6 is enabled but no domain Mar 10, 2024
web/save.go Outdated Show resolved Hide resolved
@WaterLemons2k WaterLemons2k changed the title fix(web): logging when IPv4/6 is enabled but no domain fix(web): logging if no domain is entered Mar 10, 2024
web/save.go Outdated Show resolved Hide resolved
Copy link
Owner

@jeessy2 jeessy2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks

@jeessy2 jeessy2 merged commit 9aee04b into jeessy2:master Mar 10, 2024
2 checks passed
@WaterLemons2k WaterLemons2k deleted the domains branch March 10, 2024 13:14
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.

我在外网服务器使用, 网页打开,里面没有任何服务商选项
2 participants