anselal / antminer-monitor

Cryptocurrency ASIC mining hardware monitor using a simple web interface
GNU General Public License v3.0
228 stars 145 forks source link

Hostname instead of IP address #134

Closed pes0 closed 4 years ago

pes0 commented 6 years ago

Previous versions allowed to enter hostname in ip address. now in version 0.5 it must be an ip address.

Please change back to allow hostnames again in IP Address field

My miners are all set to dynamically retrieve IP addresses and are reached by the hostname inside the lan.

Thank you very much #

anselal commented 6 years ago

I added the ip validation for security because adding something invalid could break the application. You can always remove the validation by editing the line https://github.com/anselal/antminer-monitor/blob/b7f75c84ffc0a2883eb2a92a0136bc5d8d9ede37/antminermonitor/blueprints/asicminer/templates/asicminer/home.html#L26

and removing the pattern attribute.

Στις Κυρ, 21 Οκτ 2018, 14:13 ο χρήστης pes0 notifications@github.com έγραψε:

Previous versions allowed to enter hostname in ip address. now in version 0.5 it must be an ip address.

Please change back to allow hostnames again in IP Address field

My miners are all set to dynamically retrieve IP addresses and are reached by the hostname inside the lan.

Thank you very much #

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/anselal/antminer-monitor/issues/134, or mute the thread https://github.com/notifications/unsubscribe-auth/AIU__O_7gWr5IRkW-rTsomyKxyqTbtd4ks5unFbDgaJpZM4XyZy1 .