mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
ipv6 support webui
Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
This commit is contained in:
@ -44,7 +44,8 @@ class Server:
|
||||
CSRFProtect(app)
|
||||
Handler(self._config, self._agent, app)
|
||||
|
||||
logging.info("web ui available at http://%s:%d/" % (self._address, self._port))
|
||||
formatServerIpAddress = '[::]' if self._address == '::' else self._address
|
||||
logging.info("web ui available at http://%s:%d/" % (formatServerIpAddress, self._port))
|
||||
|
||||
app.run(host=self._address, port=self._port, debug=False)
|
||||
else:
|
||||
|
Reference in New Issue
Block a user