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:
Frédéric
2025-01-20 15:27:54 +01:00
committed by GitHub
parent cb0c6c6e44
commit 0140a1fc97

View File

@ -128,6 +128,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):
"""
Called when there's internet connectivity