mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
Update wigle.py
add a redirection to wiggle.net Signed-off-by: Frédéric <fmatray@users.noreply.github.com>
This commit is contained in:
@ -127,6 +127,12 @@ class Wigle(plugins.Plugin):
|
||||
|
||||
self.ready = True
|
||||
logging.info("WIGLE: ready")
|
||||
|
||||
def on_webhook(self, path, request):
|
||||
from flask import make_response, redirect
|
||||
response = make_response(redirect("https://www.wigle.net/", code=302))
|
||||
return response
|
||||
|
||||
|
||||
def on_internet_available(self, agent):
|
||||
"""
|
||||
|
Reference in New Issue
Block a user