Skip to content

Commit 65ff0b1

Browse files
committed
Try alternative uri adding
1 parent 265a842 commit 65ff0b1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

airos/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def __init__(
7676
# Mostly 8.x API endpoints, login/status are the same in 6.x
7777
self._login_urls = {
7878
"default": f"{self.base_url}/api/auth",
79-
"v6_alternative": f"{self.base_url}/login.cgi",
79+
"v6_alternative": f"{self.base_url}/login.cgi?uri=/",
8080
}
8181
self._status_cgi_url = f"{self.base_url}/status.cgi"
8282
# Presumed 8.x only endpoints

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "airos"
7-
version = "0.5.6"
7+
version = "0.5.7a1"
88
license = "MIT"
99
description = "Ubiquiti airOS module(s) for Python 3."
1010
readme = "README.md"

0 commit comments

Comments
 (0)