mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
typo
This commit is contained in:
@ -85,7 +85,7 @@ class WpaSec(plugins.Plugin):
|
|||||||
|
|
||||||
def on_webhook(self, path, request):
|
def on_webhook(self, path, request):
|
||||||
from flask import make_response, redirect
|
from flask import make_response, redirect
|
||||||
response = make_response(redirect(self.options('api_url'), code=302))
|
response = make_response(redirect(self.options['api_url'], code=302))
|
||||||
response.set_cookie('key', self.options['api_key'])
|
response.set_cookie('key', self.options['api_key'])
|
||||||
return response
|
return response
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user