.
This commit is contained in:
15
app.py
15
app.py
@@ -32,6 +32,21 @@ def scan_wifi():
|
||||
scan.append(line)
|
||||
|
||||
|
||||
# <!DOCTYPE html>
|
||||
# <html>
|
||||
# <body>
|
||||
|
||||
# <h2>Enter Password</h2>
|
||||
|
||||
# <form>
|
||||
# <input type="text" id="passwd" name="passwd" value=""><br>
|
||||
# <p><input type=submit value="Submit"></p>
|
||||
# </form>
|
||||
|
||||
# </body>
|
||||
# </html>
|
||||
|
||||
|
||||
@app.route("/", methods=["GET", "POST"])
|
||||
def main():
|
||||
if request.method == "GET":
|
||||
|
||||
Reference in New Issue
Block a user