This commit is contained in:
SiloDS
2021-07-30 16:30:32 +01:00
parent 72a2f1e24a
commit 648242da2a
2 changed files with 5 additions and 5 deletions

View File

@@ -62,7 +62,7 @@ def connectwpa(ssid):
return render_template("wpa.html", title="WPA Password", form=form)
@app.route("/disconnect/", methods=["GET", "POST"])
@app.route("/disconnect/<ssid>", methods=["GET", "POST"])
@login_required
def disconnect(ssid):
if disconnect_network():

View File

@@ -14,10 +14,10 @@ iface eth0 inet static
address 192.168.0.200
netmask 255.255.255.0
allow-hotplug wlan1
iface wlan1 inet manual
allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
allow-hotplug wlan0
iface wlan0 inet manual
allow-hotplug wlan1
iface wlan1 inet dhcp
nohook wpa_supplicant