perara / wg-manager

A easy to use WireGuard dashboard and management tool
MIT License
594 stars 74 forks source link

DNS parameter removed when not entered #53

Closed tony1661 closed 3 years ago

tony1661 commented 3 years ago

Having the DNS parameter blank (e.g. "DNS = ") will cause import errors in the Android app using the QR Code. I've added an if statement that checks if the DNS field has been populated. If so then it will write out the whole "DNS = x.x.x.x". If not then it will not be included at all.

perara commented 3 years ago

Good Job!